aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2020-05-29 08:11:22 -0500
committerKelley Spoon <kelley.spoon@linaro.org>2020-06-01 14:21:26 +0000
commit9f3b74d18975e5c1b292b29f84f072964387dc91 (patch)
treef258e3eaa6f170498d5bcb0cc7664652273cd74f
parent64a4168b9d2f7866b509191e4df6cd2bc90f2643 (diff)
downloadlinaro-license-protection-9f3b74d18975e5c1b292b29f84f072964387dc91.tar.gz
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 <kelley.spoon@linaro.org>
-rw-r--r--license_protected_downloads/management/commands/s3_flatten.py1
1 files changed, 1 insertions, 0 deletions
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)