Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Jan 11, 2014
1 parent b8a7d87 commit 4f60665
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,7 @@ def open_bracket(self):
def close_bracket(self):
return ''


class Container(object):

"""The base class for the high-level representations of containers."""
Expand Down Expand Up @@ -1811,8 +1812,8 @@ def _reflow_lines(parsed_tokens, indentation, indent_word,
reflowed_lines[curr_starting_idx] += interior.open_bracket

if (curr_starting_idx != 0 and
len(reflowed_lines[curr_starting_idx]) +
len(interior_reflowed_lines[0]) + 1 < max_line_length):
len(reflowed_lines[curr_starting_idx]) +
len(interior_reflowed_lines[0]) + 1 < max_line_length):
reflowed_lines[curr_starting_idx] += interior_reflowed_lines[0]
else:
reflowed_lines.append(interior_reflowed_lines[0])
Expand Down

0 comments on commit 4f60665

Please sign in to comment.