From 4f60665b370625f3ba7098b27df38279553a9477 Mon Sep 17 00:00:00 2001 From: Steven Myint Date: Fri, 10 Jan 2014 20:29:44 -0800 Subject: [PATCH] Format --- autopep8.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autopep8.py b/autopep8.py index 61401d0b..69d2cdfa 100755 --- a/autopep8.py +++ b/autopep8.py @@ -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.""" @@ -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])