jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[cleanup] remove unnecessary `elif` after `continue`

Change-Id: I016423bc9f925e0f0ed1b5e92cbf63fc3a9e0e57
---
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 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 change 720479. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I016423bc9f925e0f0ed1b5e92cbf63fc3a9e0e57
Gerrit-Change-Number: 720479
Gerrit-PatchSet: 1
Gerrit-Owner: Zabe <alexander.vorwerk@stud.uni-goettingen.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged