Commit 7503e961 authored by Tobias Hangleiter's avatar Tobias Hangleiter
Browse files

Rename to and replace deprecated raw_input

raw_input was replaced by input in Python 3, thus the name change of the
module to avoid name clash.
parent be360cf3
......@@ -23,7 +23,7 @@ def query_yes_no(question, default="yes"):
while True:
sys.stdout.write(question + prompt)
choice = raw_input().lower()
choice = input().lower()
if default is not None and choice == '':
return valid[default]
elif choice in valid:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment