Skip to content

Commit

Permalink
Use input() from six instead of raw_input to be compatible with Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
marmeladema committed Oct 22, 2019
1 parent 0ea1af8 commit c0a9d39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/servo/bootstrap.py
Expand Up @@ -13,6 +13,7 @@
import subprocess
import six
import six.moves.urllib as urllib
from six.moves import input
from subprocess import PIPE
from zipfile import BadZipfile

Expand Down Expand Up @@ -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']:
Expand Down

0 comments on commit c0a9d39

Please sign in to comment.