Merge "fix unwell formatted message with format()"

This commit is contained in:
Zuul 2018-12-06 03:48:39 +00:00 committed by Gerrit Code Review
commit 01cfe24e0c

View File

@ -106,7 +106,7 @@ def retry_on_exception(num_retries, base_delay=0, exc_type=Exception):
delay = base_delay * multiplier delay = base_delay * multiplier
multiplier += 1 multiplier += 1
print("Retrying '%s' %d more times (delay={})" print("Retrying '{0}' {1} more times (delay={2})"
.format(f.__name__, retries, delay)) .format(f.__name__, retries, delay))
retries -= 1 retries -= 1
if delay: if delay: