jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Makecat: Remove the raw_input usage and look like inputChoice()
......................................................................
[FIX] Makecat: Remove the raw_input usage and look like inputChoice()
Change-Id: I68465e598c14f5f42443ab5d0db1f66f928bd1e5
---
M scripts/makecat.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/makecat.py b/scripts/makecat.py
index c67fbef..f1c8a7e 100644
--- a/scripts/makecat.py
+++ b/scripts/makecat.py
@@ -122,7 +122,7 @@
pywikibot.output(u'')
pywikibot.output(u"==%s==" % pl.title())
while True:
- answer = raw_input("y(es)/n(o)/i(gnore)/(o)ther options? ")
+ answer = pywikibot.input("[y]es/[n]o/[i]gnore/[o]ther options?")
if answer == 'y':
include(pl)
break
--
To view, visit
https://gerrit.wikimedia.org/r/157664
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I68465e598c14f5f42443ab5d0db1f66f928bd1e5
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: jenkins-bot <>