summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-01 01:09:47 (GMT)
committerGreg Ward <gward@python.net>2000-06-01 01:09:47 (GMT)
commit282c7a0230b578147a89a18ec22410b830edddfe (patch)
tree529b902b03f5e73d4ca873dd84892b23b3eba401 /Lib/distutils
parent308acf0bfa5c844392c723f6d4275277df6b38da (diff)
downloadcpython-282c7a0230b578147a89a18ec22410b830edddfe.zip
cpython-282c7a0230b578147a89a18ec22410b830edddfe.tar.gz
cpython-282c7a0230b578147a89a18ec22410b830edddfe.tar.bz2
Oops, 'reinitialize_command()' forgot to return the command object if didn't
need to be reinitialized -- fixed.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 3391e53..de4f7ef 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -711,7 +711,7 @@ class Distribution:
command_name = command.get_command_name()
if not command.finalized:
- return
+ return command
command.initialize_options()
command.finalized = 0
self._set_command_options(command)