Skip to content

Commit

Permalink
Fix new flake8 warnings
Browse files Browse the repository at this point in the history
Specifically,

    src/restview/restviewhttp.py:519:13: W504 line break after binary operator
    src/restview/restviewhttp.py:520:13: W504 line break after binary operator
  • Loading branch information
mgedmin committed Oct 29, 2018
1 parent c53ad77 commit 2336aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/restview/restviewhttp.py
Expand Up @@ -516,9 +516,9 @@ def highlight_line(source, lineno):
return source
idx = lineno - 1
return ''.join(
lines[:idx] +
['<span class="highlight">%s</span>' % lines[idx]] +
lines[idx + 1:]
lines[:idx]
+ ['<span class="highlight">%s</span>' % lines[idx]]
+ lines[idx + 1:]
)

def render_exception(self, title, error, source, line=None, mtime=None):
Expand Down

0 comments on commit 2336aa6

Please sign in to comment.