summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-03-08 16:28:23 +0100
committerGeorg Brandl <georg@python.org>2015-03-08 16:28:23 +0100
commit18b6843696a9f9b46f98a77a4e62825c193ae73a (patch)
tree5c7e2d6fad4777dc7e56126bcb06723742cea631 /sphinx/quickstart.py
parent8bc5823724e58bc75d165adc77fb78525d0256f2 (diff)
downloadsphinx-git-18b6843696a9f9b46f98a77a4e62825c193ae73a.tar.gz
pep8 fixes
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')