jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/614572 )
Change subject: [cleanup] remove absolute_import and unicode_literals
......................................................................
[cleanup] remove absolute_import and unicode_literals
- __future__.absolute_import and __future__.unicode_literals are not
needed even if the wrapper script is called with Python 2.7
- reorder imports
Change-Id: Id9279d4863a5faaa30a0cd7f09bcd966043dc28b
---
M pwb.py
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Matěj Suchánek: Looks good to me, but someone else must approve
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pwb.py b/pwb.py
index 3880526..19162c7 100755
--- a/pwb.py
+++ b/pwb.py
@@ -18,15 +18,15 @@
#
# Distributed under the terms of the MIT license.
#
-from __future__ import absolute_import, print_function, unicode_literals
+from __future__ import print_function
+
+import os
+import sys
+import types
from difflib import get_close_matches
from importlib import import_module
-import os
-import sys
from time import sleep
-import types
-
from warnings import warn
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/614572
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id9279d4863a5faaa30a0cd7f09bcd966043dc28b
Gerrit-Change-Number: 614572
Gerrit-PatchSet: 4
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged