Andrew Kuchling:

Fixed precendence bug that meant setting skip_blanks to false didn't work
under some circumstances.
This commit is contained in:
Greg Ward 2000-09-16 18:09:22 +00:00
parent f11296bdea
commit 3d05c16003
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class TextFile:
# blank line (whether we rstrip'ed or not)? skip to next line
# if appropriate
if line == '' or line == '\n' and self.skip_blanks:
if (line == '' or line == '\n') and self.skip_blanks:
continue
if self.join_lines: