aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2020-05-26 10:31:22 -0500
committerBenjamin Copeland <ben.copeland@linaro.org>2020-05-26 15:35:25 +0000
commit64a4168b9d2f7866b509191e4df6cd2bc90f2643 (patch)
treeff7247dde6e9a44d3b413b9758c61b654f37a314
parent9975dc48a55b59f21db1a4fd1b371c7760ffc162 (diff)
downloadlinaro-license-protection-64a4168b9d2f7866b509191e4df6cd2bc90f2643.tar.gz
s3_flatten.py: fix a silly typo that was causing an exception
There was a missing format character for an error log message that was triggering a valueerror exception. Change-Id: Iea0569991d3914c256c269bdc7bc14a8f25b2ab2 Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/35367 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
-rw-r--r--license_protected_downloads/management/commands/s3_flatten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/license_protected_downloads/management/commands/s3_flatten.py b/license_protected_downloads/management/commands/s3_flatten.py
index eb112e4..c667449 100644
--- a/license_protected_downloads/management/commands/s3_flatten.py
+++ b/license_protected_downloads/management/commands/s3_flatten.py
@@ -85,7 +85,7 @@ class Command(BaseCommand):
self.handle_bucket(*args, **options)
retries = 0
except httplib.BadStatusLine as e:
- logging.error("httplib error handle_bucket(): %" % e)
+ logging.error("httplib error handle_bucket(): %s" % e)
retries -= 1
sleep(30)