diff options
author | marmeladema <xademax@gmail.com> | 2019-10-20 23:15:04 +0100 |
---|---|---|
committer | marmeladema <xademax@gmail.com> | 2019-10-22 10:16:00 +0100 |
commit | c0a9d395252a4bc52e39f249c510c9f0af3e80f9 (patch) | |
tree | 858273f482f9a93e7f4993db5441a03c50ec37e4 /python/servo/bootstrap.py | |
parent | 0ea1af8b34474d1b08e36393559ab4cae31ecd0b (diff) | |
download | servo-c0a9d395252a4bc52e39f249c510c9f0af3e80f9.tar.gz servo-c0a9d395252a4bc52e39f249c510c9f0af3e80f9.zip |
Use input() from six instead of raw_input to be compatible with Python3
Diffstat (limited to 'python/servo/bootstrap.py')
-rw-r--r-- | python/servo/bootstrap.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py index b854b8844f1..1e1703236b2 100644 --- a/python/servo/bootstrap.py +++ b/python/servo/bootstrap.py @@ -13,6 +13,7 @@ import shutil import subprocess import six import six.moves.urllib as urllib +from six.moves import input from subprocess import PIPE from zipfile import BadZipfile @@ -254,7 +255,7 @@ def salt(context, force=False): print('Something went wrong while bootstrapping') return retcode - proceed = raw_input( + proceed = input( 'Proposed changes are above, proceed with bootstrap? [y/N]: ' ) if proceed.lower() not in ['y', 'yes']: |