diff options
| author | shimizukawa <shimizukawa@gmail.com> | 2016-02-09 00:27:21 +0900 |
|---|---|---|
| committer | shimizukawa <shimizukawa@gmail.com> | 2016-02-09 00:27:21 +0900 |
| commit | eb9c85f4ea70d78370d4c757df013046f85bfff6 (patch) | |
| tree | 2ba413fd04cf265346e060147ad66c9677ab41f6 /sphinx/ext/todo.py | |
| parent | e2208c12a0a2990d1f53c8b4e38a8a2bb9485964 (diff) | |
| download | sphinx-git-eb9c85f4ea70d78370d4c757df013046f85bfff6.tar.gz | |
fix flake8
Diffstat (limited to 'sphinx/ext/todo.py')
| -rw-r--r-- | sphinx/ext/todo.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sphinx/ext/todo.py b/sphinx/ext/todo.py index 60a44de04..a853ec93c 100644 --- a/sphinx/ext/todo.py +++ b/sphinx/ext/todo.py @@ -128,9 +128,10 @@ def process_todo_nodes(app, doctree, fromdocname): if app.config['todo_link_only']: description = _('<<original entry>>') else: - description = _('(The <<original entry>> is located in ' - ' %s, line %d.)') % \ - (todo_info['source'], todo_info['lineno']) + description = ( + _('(The <<original entry>> is located in %s, line %d.)') % + (todo_info['source'], todo_info['lineno']) + ) desc1 = description[:description.find('<<')] desc2 = description[description.find('>>')+2:] para += nodes.Text(desc1, desc1) |
