Xqt has uploaded a new change for review.

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


Change subject: (bug 57838) Wrong syntax with new print function for py3 
compatibility
......................................................................

(bug 57838) Wrong syntax with new print function for py3 compatibility

The new py3 print function is available for 2.6+ versions. We have just to 
import it from __future__.

follow-up for https://gerrit.wikimedia.org/r/#/c/97876/

Change-Id: I983d07f362cd277820f27f3e00c2629415290625
---
M pywikibot/userinterfaces/win32_unicode.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/27/98527/1

diff --git a/pywikibot/userinterfaces/win32_unicode.py 
b/pywikibot/userinterfaces/win32_unicode.py
index c34a6b1..44ec80c 100755
--- a/pywikibot/userinterfaces/win32_unicode.py
+++ b/pywikibot/userinterfaces/win32_unicode.py
@@ -19,7 +19,7 @@
 # Licensed under both CC-BY-SA as the MIT license.
 #
 ################################################
-
+from __future__ import print_function
 import sys
 stdin = sys.stdin
 stdout = sys.stdout

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I983d07f362cd277820f27f3e00c2629415290625
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to