Use input() on Python 3

This commit is contained in:
BJ Dierkes 2016-02-24 22:56:58 -06:00
parent 2f1e14e2d3
commit a5e32a046b

View File

@ -114,7 +114,7 @@ class CementDevtoolsController(ArgparseController):
print("Making Release for Version %s" % VERSION)
print('-' * 77)
if not self.app.pargs.noprompt:
res = raw_input("Continue? [yN] ")
res = input("Continue? [yN] ")
if res not in ['Y', 'y', '1']:
sys.exit(1)