diff options
author | Greg Ward <gward@python.net> | 2000-09-16 18:09:22 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-16 18:09:22 (GMT) |
commit | 3d05c1600336ad3f09b28cbedc7b31c17dcf51f0 (patch) | |
tree | 2b03a163088249ad6db6fce6feedd0e01e1764d2 /Lib/distutils | |
parent | f11296bdea61a526713027b6337977941aa48fa7 (diff) | |
download | cpython-3d05c1600336ad3f09b28cbedc7b31c17dcf51f0.zip cpython-3d05c1600336ad3f09b28cbedc7b31c17dcf51f0.tar.gz cpython-3d05c1600336ad3f09b28cbedc7b31c17dcf51f0.tar.bz2 |
Andrew Kuchling:
Fixed precendence bug that meant setting skip_blanks to false didn't work
under some circumstances.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/text_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/text_file.py b/Lib/distutils/text_file.py index b731762..c983afa 100644 --- a/Lib/distutils/text_file.py +++ b/Lib/distutils/text_file.py @@ -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: |