jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/720479 )
Change subject: [cleanup] remove unnecessary `elif` after `continue` ......................................................................
[cleanup] remove unnecessary `elif` after `continue`
Change-Id: I016423bc9f925e0f0ed1b5e92cbf63fc3a9e0e57 --- M pywikibot/data/api.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index 305c5c1..c386849 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1804,7 +1804,7 @@ self.site.throttle.lag(lag * retries) continue
- elif code == 'help' and self.action == 'help': + if code == 'help' and self.action == 'help': # The help module returns an error result with the complete # API information. As this data was requested, return the # data instead of raising an exception.
pywikibot-commits@lists.wikimedia.org