From 3d05c1600336ad3f09b28cbedc7b31c17dcf51f0 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 16 Sep 2000 18:09:22 +0000 Subject: [PATCH] Andrew Kuchling: Fixed precendence bug that meant setting skip_blanks to false didn't work under some circumstances. --- Lib/distutils/text_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/text_file.py b/Lib/distutils/text_file.py index b7317622307..c983afa4252 100644 --- a/Lib/distutils/text_file.py +++ b/Lib/distutils/text_file.py @@ -256,7 +256,7 @@ def readline (self): # 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: