diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-12 13:03:53 +0900 |
commit | 38d6c34f35c60689f22d1f71ce650ca1e3005ec4 (patch) | |
tree | 0677416d0de03a53ee7d348289d8560e511c2bed /sphinx/builders/changes.py | |
parent | ef912eb9a3e923e80d5c6a08fda4597a65d591aa (diff) | |
parent | 478306e052d9711170b1fbe63635edef02853484 (diff) | |
download | sphinx-git-38d6c34f35c60689f22d1f71ce650ca1e3005ec4.tar.gz |
Merge branch 'stable'
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r-- | sphinx/builders/changes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py index d6e118d97..fc8532794 100644 --- a/sphinx/builders/changes.py +++ b/sphinx/builders/changes.py @@ -141,7 +141,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: # type: ignore - 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 |