Skip to content

Commit

Permalink
fix e117
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Jan 30, 2019
1 parent 9b49c3a commit 462069e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -3022,8 +3022,8 @@ def run(self, indent_size=DEFAULT_INDENT_SIZE):
if have == _leading_space_count(lines[jline]):
want = jlevel * indent_size
break
if want < 0: # Maybe it's a hanging
# comment like this one,
# Maybe it's a hanging comment like this one,
if want < 0:
# in which case we should shift it like its base
# line got shifted.
for j in range(i - 1, -1, -1):
Expand Down

0 comments on commit 462069e

Please sign in to comment.