jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] pywikibot.tools.ip: Remove incorrect comment
......................................................................
[FIX] pywikibot.tools.ip: Remove incorrect comment
The comment noted that pywikibot.tools.ip cannot import
`__future__.unicode_literals` since its creation in 25d3fce9, even though
later in 1e54a7d6 this was actually ignored. The comment itself was valid as
that patch broke it, but another solution fixed it a0a194d5 so that the module
itself has no problem in using `unicode_literals` now.
Change-Id: I067218c1fec9555da8cd91d30016523ba863d6f8
(cherry picked from commit 7541f6df68d2bb252ff2b41f7011d6eae9357bb3)
---
M pywikibot/tools/ip.py
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/tools/ip.py b/pywikibot/tools/ip.py
index 808c0cc..cb4b064 100644
--- a/pywikibot/tools/ip.py
+++ b/pywikibot/tools/ip.py
@@ -5,8 +5,6 @@
#
# Distributed under the terms of the MIT license.
#
-# Note that this module _must_ not import future.unicode_literals
-# otherwise it will not be able to detect the defective ipaddress module.
from __future__ import unicode_literals
__version__ = '$Id$'
--
To view, visit
https://gerrit.wikimedia.org/r/238706
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I067218c1fec9555da8cd91d30016523ba863d6f8
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>