jenkins-bot has submitted this change and it was merged.
Change subject: comms/http.py: Pyflakes fixes ......................................................................
comms/http.py: Pyflakes fixes
local variable 'proto' is assigned to but never used local variable 'host' is assigned to but never used
Change-Id: Ibad5d84dffdd9f555b8d3ef21efce05497952349 --- M pywikibot/comms/http.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/comms/http.py b/pywikibot/comms/http.py index 95d0cdc..d383378 100644 --- a/pywikibot/comms/http.py +++ b/pywikibot/comms/http.py @@ -152,7 +152,7 @@ else: proto = site.protocol() host = site.hostname() - baseuri = urlparse.urljoin("%(proto)s://%(host)s" % locals(), uri) + baseuri = urlparse.urljoin("%s://%s" % (proto, host), uri) else: baseuri = uri
pywikibot-commits@lists.wikimedia.org