Commit 3d05c160 authored by Greg Ward's avatar Greg Ward

Andrew Kuchling:

Fixed precendence bug that meant setting skip_blanks to false didn't work
under some circumstances.
parent f11296bd
...@@ -256,7 +256,7 @@ class TextFile: ...@@ -256,7 +256,7 @@ class TextFile:
# blank line (whether we rstrip'ed or not)? skip to next line # blank line (whether we rstrip'ed or not)? skip to next line
# if appropriate # if appropriate
if line == '' or line == '\n' and self.skip_blanks: if (line == '' or line == '\n') and self.skip_blanks:
continue continue
if self.join_lines: if self.join_lines:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment