Remove python2 code

This commit is contained in:
Guillaume Gomez 2020-11-24 15:21:51 +01:00
parent de0ed0040a
commit 5b7c882497

View file

@ -34,9 +34,6 @@ def ask_yes_no_question(question, conf):
if conf.yes:
print(question + 'y')
return True
if sys.version_info[0] < 3:
line = raw_input(question)
else:
line = input(question)
return line.strip().lower() == 'y'