summaryrefslogtreecommitdiff
path: root/sphinx/cmd/quickstart.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-23 15:11:35 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-11 19:09:47 -0800
commit27a6787d63d5df87f8216713ec4377e4e2f57b99 (patch)
tree4f2bafd761653f539b10ec6356ebb940d7c9b435 /sphinx/cmd/quickstart.py
parent7ff3d1875abb4e73065242c0035125d759087041 (diff)
downloadsphinx-git-27a6787d63d5df87f8216713ec4377e4e2f57b99.tar.gz
Remove use of six.binary_type
Remove type checks for cases that don't apply to Python 3. For remaining uses, use bytes instead
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r--sphinx/cmd/quickstart.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py
index 94f829e13..934f47b2a 100644
--- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -35,7 +35,7 @@ except ImportError:
USE_LIBEDIT = False
from docutils.utils import column_width
-from six import text_type, binary_type
+from six import text_type
import sphinx.locale
from sphinx import __display_version__, package_dir
@@ -644,11 +644,6 @@ def main(argv=sys.argv[1:]):
print('[Interrupted.]')
return 130 # 128 + SIGINT
- # decode values in d if value is a Python string literal
- for key, value in d.items():
- if isinstance(value, binary_type):
- d[key] = term_decode(value)
-
# handle use of CSV-style extension values
d.setdefault('extensions', [])
for ext in d['extensions'][:]: