summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/text_file.py2
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: