Skip to content

Commit 6608fd5

Browse files
authored
Merge pull request #303 from Avasam/patch-1
Use a real boolean (False) default for display_option_names generated attributes
2 parents ace1ab0 + 22e845b commit 6608fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, attrs=None): # noqa: C901
139139
self.dry_run = False
140140
self.help = False
141141
for attr in self.display_option_names:
142-
setattr(self, attr, 0)
142+
setattr(self, attr, False)
143143

144144
# Store the distribution meta-data (name, version, author, and so
145145
# forth) in a separate object -- we're getting to have enough

0 commit comments

Comments
 (0)