Xqt has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351262 )

Change subject: Import unicode_literals in user-fixes.py.sample
......................................................................

Import unicode_literals in user-fixes.py.sample

This indicates to use py3 compatible unicode literals

Bug:T164253
Change-Id: Iaf4380dec34c77928d30cc9de08aa35b6800b83f
---
M user-fixes.py.sample
1 file changed, 3 insertions(+), 2 deletions(-)


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

diff --git a/user-fixes.py.sample b/user-fixes.py.sample
index a0dfa5b..0007844 100644
--- a/user-fixes.py.sample
+++ b/user-fixes.py.sample
@@ -3,14 +3,15 @@
 #
 # This is only an example. Don't use it.
 #
+from __future__ import unicode_literals
 
 fixes['example'] = {
     'regex': True,
     'msg': {
-        '_default': u'no summary specified',
+        '_default': 'no summary specified',
     },
     'replacements': [
-        (r'\bword\b', u'two words'),
+        (r'\bword\b', 'two words'),
     ]
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf4380dec34c77928d30cc9de08aa35b6800b83f
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