jenkins-bot submitted this change.
[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.