summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index 8f4e0ed52..64bbfc34e 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -18,8 +18,6 @@ import time
from os import path
from io import open
-TERM_ENCODING = getattr(sys.stdin, 'encoding', None)
-
# try to import readline, unix specific enhancement
try:
import readline
@@ -41,6 +39,8 @@ from sphinx.util.console import purple, bold, red, turquoise, \
nocolor, color_terminal
from sphinx.util import texescape
+TERM_ENCODING = getattr(sys.stdin, 'encoding', None)
+
# function to get input from terminal -- overridden by the test suite
term_input = input
@@ -57,7 +57,7 @@ DEFAULT_VALUE = {
'ext_todo': False,
'makefile': True,
'batchfile': True,
- }
+}
EXTENSIONS = ('autodoc', 'doctest', 'intersphinx', 'todo', 'coverage',
'pngmath', 'mathjax', 'ifconfig', 'viewcode')