XZise 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 --- M pywikibot/tools/ip.py 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/tools/ip.py b/pywikibot/tools/ip.py index b50f8d5..e1071ca 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$'
pywikibot-commits@lists.wikimedia.org