summaryrefslogtreecommitdiff
path: root/sphinx/ext/viewcode.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-03-08 17:03:00 +0100
committerGeorg Brandl <georg@python.org>2015-03-08 17:03:00 +0100
commitb5c2279e05b3f18b660b29c8bd0989fbb8a1582a (patch)
treebf4f1390758c6e807e7d816fe1f869a6ce7b7ea2 /sphinx/ext/viewcode.py
parentba9dcaac5120f58c3cc0bc455b4beceab3a4abd9 (diff)
downloadsphinx-git-b5c2279e05b3f18b660b29c8bd0989fbb8a1582a.tar.gz
ext: pep8 fixes
Diffstat (limited to 'sphinx/ext/viewcode.py')
-rw-r--r--sphinx/ext/viewcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py
index d213430a9..a79078b50 100644
--- a/sphinx/ext/viewcode.py
+++ b/sphinx/ext/viewcode.py
@@ -155,8 +155,8 @@ def collect_pages(app):
backlink = urito(pagename, docname) + '#' + refname + '.' + name
lines[start] = (
'<div class="viewcode-block" id="%s"><a class="viewcode-back" '
- 'href="%s">%s</a>' % (name, backlink, _('[docs]'))
- + lines[start])
+ 'href="%s">%s</a>' % (name, backlink, _('[docs]')) +
+ lines[start])
lines[min(end - 1, maxindex)] += '</div>'
# try to find parents (for submodules)
parents = []