mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 16:55:27 +00:00
Remove python2 code
This commit is contained in:
parent
de0ed0040a
commit
5b7c882497
1 changed files with 1 additions and 4 deletions
|
@ -34,10 +34,7 @@ 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 = input(question)
|
||||||
line = raw_input(question)
|
|
||||||
else:
|
|
||||||
line = input(question)
|
|
||||||
return line.strip().lower() == 'y'
|
return line.strip().lower() == 'y'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue