Merge "fix unwell formatted message with format()"
This commit is contained in:
commit
01cfe24e0c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user