summaryrefslogtreecommitdiff
path: root/sphinx/quickstart.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 10:07:05 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 10:07:05 +0900
commit60d4846e0fa4ec0e76ed6c963d13f74015939875 (patch)
treeca4ae881df00d292d48211517169085b97ed4e78 /sphinx/quickstart.py
parentbb8dcb5ceea378368084567354f70fffcd5d5f42 (diff)
downloadsphinx-git-60d4846e0fa4ec0e76ed6c963d13f74015939875.tar.gz
Fix flake8 violations
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r--sphinx/quickstart.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py
index 3c7ab3d97..dda98ce5a 100644
--- a/sphinx/quickstart.py
+++ b/sphinx/quickstart.py
@@ -301,11 +301,11 @@ document is a custom template, you can also set this to another filename.''')
do_prompt(d, 'master', 'Name of your master document (without suffix)',
'index')
- while path.isfile(path.join(d['path'], d['master']+d['suffix'])) or \
- path.isfile(path.join(d['path'], 'source', d['master']+d['suffix'])):
+ while path.isfile(path.join(d['path'], d['master'] + d['suffix'])) or \
+ path.isfile(path.join(d['path'], 'source', d['master'] + d['suffix'])):
print()
print(bold('Error: the master file %s has already been found in the '
- 'selected root path.' % (d['master']+d['suffix'])))
+ 'selected root path.' % (d['master'] + d['suffix'])))
print('sphinx-quickstart will not overwrite the existing file.')
print()
do_prompt(d, 'master', 'Please enter a new file name, or rename the '
@@ -632,7 +632,7 @@ def main(argv=sys.argv):
d.setdefault('version', '')
d.setdefault('release', d['version'])
d2 = DEFAULT_VALUE.copy()
- d2.update(dict(("ext_"+ext, False) for ext in EXTENSIONS))
+ d2.update(dict(("ext_" + ext, False) for ext in EXTENSIONS))
d2.update(d)
d = d2
if 'no_makefile' in d: