jenkins-bot merged this change.
[IMPR] use fixed point notation rather than exp for values
Change-Id: Ic3347dee14d386890ea7710e6fbf4073118906c5
---
M pywikibot/data/api.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index 243dd7f..8a80457 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -2127,7 +2127,7 @@
if self.max_retries < 0:
raise TimeoutError('Maximum retries attempted without success.')
delay = delay or self.retry_wait
- pywikibot.warning('Waiting {:.1g} seconds before retrying.'
+ pywikibot.warning('Waiting {:.1f} seconds before retrying.'
.format(delay))
pywikibot.sleep(delay)
# double the next wait, but do not exceed config.retry_max seconds
To view, visit change 604754. To unsubscribe, or for help writing mail filters, visit settings.