diff options
author | Steffen Allner <sa@gocept.com> | 2016-06-20 18:13:37 +0200 |
---|---|---|
committer | Steffen Allner <sa@gocept.com> | 2016-06-20 18:13:37 +0200 |
commit | 59eeb645f38fff2828a0d9f0c72c4a2d39f638b6 (patch) | |
tree | 0bc1ae456c38b164b769bdde75b69c945941eb1a /tox/_quickstart.py | |
parent | 975d9c90c7e0739fa8f9ab79a6ac49dfa722450a (diff) | |
parent | cef9d6b5edf6c40362b0cf40c81201f7092607c4 (diff) | |
download | tox-hook/report-status.tar.gz |
Merge from defaulthook/report-status
Diffstat (limited to 'tox/_quickstart.py')
-rw-r--r-- | tox/_quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/_quickstart.py b/tox/_quickstart.py index a397cb1..59ee48e 100644 --- a/tox/_quickstart.py +++ b/tox/_quickstart.py @@ -119,7 +119,7 @@ def do_prompt(d, key, text, default=None, validator=nonempty): x = term_input(prompt) if default and not x: x = default - if sys.version_info < (3, ) and not isinstance(x, unicode): + if sys.version_info < (3, ) and not isinstance(x, unicode): # noqa # for Python 2.x, try to get a Unicode string out of it if x.decode('ascii', 'replace').encode('ascii', 'replace') != x: if TERM_ENCODING: |