jenkins-bot has submitted this change and it was merged.

Change subject: (syntax fix) Http() redirect limit exception
......................................................................


(syntax fix) Http() redirect limit exception

threadedhttp.Http() copied exception code from httplib2 and
omitted a module prefix for httplib2.RedirectLimit

Change-Id: I565e8b30efcd68cb76cc626b1ece9c2365ef0c20
---
M pywikibot/comms/threadedhttp.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Merlijn van Deen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/comms/threadedhttp.py b/pywikibot/comms/threadedhttp.py
index 5dd0840..c1a37d7 100644
--- a/pywikibot/comms/threadedhttp.py
+++ b/pywikibot/comms/threadedhttp.py
@@ -301,7 +301,7 @@
                                 headers=headers,
                                 max_redirects=max_redirects - 1)
         else:
-            raise RedirectLimit(
+            raise httplib2.RedirectLimit(
                 "Redirected more times than redirection_limit allows.",
                 response, content)
 

-- 
To view, visit https://gerrit.wikimedia.org/r/139605
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I565e8b30efcd68cb76cc626b1ece9c2365ef0c20
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to