Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Apr 9, 2013
1 parent ae22dcd commit 5bed585
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,14 +365,7 @@ def _fix_reindent(self, result, logical, fix_distinct=False):
valid = valid_indents[row]
got = rewrapper.rel_indent[row]
else:
# Line number from pep8 isn't a continuation line. Instead,
# compare our own function's result, look for the first mismatch,
# and just hope that we take fewer than 100 iterations to finish.
for row in range(0, len(original), 1):
valid = valid_indents[row]
got = rewrapper.rel_indent[row]
if valid != got:
break
return []
line = ls[0] + row
# always pick the expected indent, for now.
indent_to = valid[0]
Expand Down

0 comments on commit 5bed585

Please sign in to comment.