From 9f3b74d18975e5c1b292b29f84f072964387dc91 Mon Sep 17 00:00:00 2001 From: Kelley Spoon Date: Fri, 29 May 2020 08:11:22 -0500 Subject: s3_flatten.py: add missing import for sleep() Somehow missed importing sleep() from time. Let's do that in case the httplib error ever occurs again. Change-Id: Ifb6a039a54433111c2e278b2666f906405baa424 Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35430 Reviewed-by: Kelley Spoon --- license_protected_downloads/management/commands/s3_flatten.py | 1 + 1 file changed, 1 insertion(+) diff --git a/license_protected_downloads/management/commands/s3_flatten.py b/license_protected_downloads/management/commands/s3_flatten.py index c667449..c642b61 100644 --- a/license_protected_downloads/management/commands/s3_flatten.py +++ b/license_protected_downloads/management/commands/s3_flatten.py @@ -8,6 +8,7 @@ from boto.s3.connection import S3Connection from boto.s3 import deletemarker,key,prefix import sys import httplib +from time import sleep logging.getLogger().setLevel(logging.INFO) -- cgit v1.2.3