fix unwell formatted message with format()
Change-Id: I6a9f00fbffa681b5da654c0f349d569f4c3da03c Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
parent
b77bc9cd1e
commit
5ac59412dc
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user