jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1104388?usp=email )

Change subject: cleanup: Support for MediaWiki <= 1.30 was dropped
......................................................................

cleanup: Support for MediaWiki <= 1.30 was dropped

Bug: T378984
Change-Id: I90807d956798f5e199f1a1627b74758b56bc0c11
---
M pywikibot/login.py
1 file changed, 0 insertions(+), 3 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/pywikibot/login.py b/pywikibot/login.py
index 5760c3a..b73776f 100644
--- a/pywikibot/login.py
+++ b/pywikibot/login.py
@@ -445,10 +445,7 @@
                 del login_request['rememberMe']
                 continue

-            # messagecode was introduced with 1.29.0-wmf.14
-            # but older wikis are still supported
             login_throttled = response.get('messagecode') == 'login-throttled'
-
             if (status == 'Throttled' or status == self.keyword('fail')
                     and (login_throttled or 'wait' in fail_reason)):
                 wait = response.get('wait')

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1104388?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I90807d956798f5e199f1a1627b74758b56bc0c11
Gerrit-Change-Number: 1104388
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to