XZise has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231562

Change subject: [FIX] scripts: unicode_literals import
......................................................................

[FIX] scripts: unicode_literals import

These two are hopefully the last scripts with wrong unicode_literals import
since its introduction in 1e54a7d6.

Change-Id: I5306cbf637cea833f791b2b63c2415e757ab7e7f
---
M scripts/cosmetic_changes.py
M scripts/flickrripper.py
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/62/231562/1

diff --git a/scripts/cosmetic_changes.py b/scripts/cosmetic_changes.py
index de6afcf..cb2c318 100644
--- a/scripts/cosmetic_changes.py
+++ b/scripts/cosmetic_changes.py
@@ -31,6 +31,8 @@
 #
 # Distributed under the terms of the MIT license.
 #
+from __future__ import unicode_literals
+
 __version__ = '$Id$'
 #
 
diff --git a/scripts/flickrripper.py b/scripts/flickrripper.py
index 439c6ba..b449d71 100755
--- a/scripts/flickrripper.py
+++ b/scripts/flickrripper.py
@@ -15,7 +15,6 @@
 #**Add a nice hotcat lookalike for the adding of categories
 #**Filter the categories
 #*Upload the image
-from __future__ import unicode_literals
 
 Todo:
 *Check if the image is already uploaded (SHA hash)
@@ -30,6 +29,8 @@
 #
 # Distributed under the terms of the MIT license.
 #
+from __future__ import unicode_literals
+
 __version__ = '$Id$'
 #
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5306cbf637cea833f791b2b63c2415e757ab7e7f
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to