Skip to content

Commit 405c150

Browse files
committed
Remove early initialization of 'commands'; unneeded.
1 parent 2dfd673 commit 405c150

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

distutils/dist.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ def __init__(self, attrs=None):
168168
# for the setup script to override command classes
169169
self.cmdclass = {}
170170

171-
# Make sure 'commands' is defined, so dist.run_commands can run
172-
# It might be overwritten by parse_command_line()
173-
self.commands = []
174-
175171
# 'command_packages' is a list of packages in which commands
176172
# are searched for. The factory for command 'foo' is expected
177173
# to be named 'foo' in the module 'foo' in one of the packages

0 commit comments

Comments
 (0)