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)
pywikibot-commits@lists.wikimedia.org