summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-01-12 12:54:02 +0900
committerGitHub <noreply@github.com>2017-01-12 12:54:02 +0900
commit478306e052d9711170b1fbe63635edef02853484 (patch)
tree502a9e495cef7d748a5a439de35bdb4647f5f138 /sphinx/builders/changes.py
parentd170862866a576cf342d27074d009e869e3670c4 (diff)
parent76ecccf8af86568cde5310638b4ac21c1aee0042 (diff)
downloadsphinx-git-478306e052d9711170b1fbe63635edef02853484.tar.gz
Merge pull request #3327 from tk0miya/flake8
Update flake8 rules
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index a756742c9..eadbad09a 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -130,7 +130,7 @@ class ChangesBuilder(Builder):
targetfn = path.join(self.outdir, 'rst', os_path(docname)) + '.html'
ensuredir(path.dirname(targetfn))
with codecs.open(targetfn, 'w', 'utf-8') as f:
- text = ''.join(hl(i+1, line) for (i, line) in enumerate(lines))
+ text = ''.join(hl(i + 1, line) for (i, line) in enumerate(lines))
ctx = {
'filename': self.env.doc2path(docname, None),
'text': text