fix unwell formatted message with format()

Change-Id: I6a9f00fbffa681b5da654c0f349d569f4c3da03c
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
This commit is contained in:
Sahid Orentino Ferdjaoui 2018-11-28 15:19:58 +01:00
parent b77bc9cd1e
commit 5ac59412dc
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: