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.
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/720479
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I016423bc9f925e0f0ed1b5e92cbf63fc3a9e0e57
Gerrit-Change-Number: 720479
Gerrit-PatchSet: 1
Gerrit-Owner: Zabe <alexander.vorwerk(a)stud.uni-goettingen.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged