forked from mirrors/gstreamer-rs
Remove python2 code
This commit is contained in:
parent
de0ed0040a
commit
5b7c882497
1 changed files with 1 additions and 4 deletions
|
@ -34,9 +34,6 @@ def ask_yes_no_question(question, conf):
|
||||||
if conf.yes:
|
if conf.yes:
|
||||||
print(question + 'y')
|
print(question + 'y')
|
||||||
return True
|
return True
|
||||||
if sys.version_info[0] < 3:
|
|
||||||
line = raw_input(question)
|
|
||||||
else:
|
|
||||||
line = input(question)
|
line = input(question)
|
||||||
return line.strip().lower() == 'y'
|
return line.strip().lower() == 'y'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue