jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/604754 )
Change subject: [IMPR] use fixed point notation rather than exp for values ......................................................................
[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(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
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