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
1 changed files with 1 additions and 1 deletions

View File

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