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

Change subject: Cleanup pywikibot imports
......................................................................


Cleanup pywikibot imports

Remove unused import of 'pywikibot'
Replace relative import wih qualified import of threadedhttp, for
consistency with the other imports.

Change-Id: I8e229e9ef7b42afab5f26565ee8ffb8466fc4057
---
M pywikibot/comms/http.py
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  John Vandenberg: Looks good to me, but someone else must approve
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/comms/http.py b/pywikibot/comms/http.py
index 5edbd62..dbc23cf 100644
--- a/pywikibot/comms/http.py
+++ b/pywikibot/comms/http.py
@@ -61,8 +61,7 @@
 
 from pywikibot import config
 from pywikibot.exceptions import FatalServerError, Server504Error
-import pywikibot
-from . import threadedhttp
+from pywikibot.comms import threadedhttp
 import pywikibot.version
 
 _logger = "comm.http"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8e229e9ef7b42afab5f26565ee8ffb8466fc4057
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: 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 <>

_______________________________________________
Pywikibot-commits mailing list
Pywikibot-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to