jenkins-bot has submitted this change and it was merged.
Change subject: Typo and format correction in api.py ......................................................................
Typo and format correction in api.py
Change-Id: Iab43b4857e85e4cf0de2b2e2c62a423690268b8e --- M pywikibot/data/api.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Ricordisamoa: Looks good to me, approved Legoktm: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index 127c423..3eb45d0 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1391,7 +1391,7 @@ return "%s.%s<%s->%r>" % (self.__class__.__module__, self.__class__.__name__, self.site, str(self))
def _simulate(self, action): - """Simualte action.""" + """Simulate action.""" if action and config.simulate and (self.write or action in config.actions_to_block): pywikibot.output( u'\03{lightyellow}SIMULATION: %s action blocked.\03{default}' @@ -1485,7 +1485,7 @@ text = warning['html']['*'] else: pywikibot.warning( - u'API warning ({0})of unknown format: {1}'. + u'API warning ({0}) of unknown format: {1}'. format(mod, warning)) continue # multiple warnings are in text separated by a newline