jenkins-bot has submitted this change and it was merged.
Change subject: py3 cleanups ......................................................................
py3 cleanups
Change-Id: I3d7dad6bfb4b0394a7c0d5942310b01b741077c2 --- M generate_user_files.py 1 file changed, 4 insertions(+), 4 deletions(-)
Approvals: Ricordisamoa: Looks good to me, approved jenkins-bot: Verified
diff --git a/generate_user_files.py b/generate_user_files.py index 88bea75..328ba53 100644 --- a/generate_user_files.py +++ b/generate_user_files.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ Script to create user files (user-config.py, user-fixes.py) """ # -# (C) Pywikibot team, 2010-2013 +# (C) Pywikibot team, 2010-2014 # # Distributed under the terms of the MIT license. # @@ -79,7 +79,7 @@ message += u": "
for n, i in enumerate(clist): - print (u"%d: %s" % (n + 1, i)) + print(u"%d: %s" % (n + 1, i))
while True: choice = raw_input(message) @@ -135,12 +135,12 @@ your operating system. See your operating system documentation for how to set environment variables.""" % locals(), width=76) for line in msg: - print line + print(line) ok = raw_input("Is this OK? ([y]es, [N]o) ") if ok in ["Y", "y"]: base_dir = new_base return True - print "Aborting changes." + print("Aborting changes.") return False
pywikibot-commits@lists.wikimedia.org