summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-06 02:52:36 (GMT)
committerGreg Ward <gward@python.net>2000-06-06 02:52:36 (GMT)
commit43955c9a023ea7b50b28052112dbdc914c090a27 (patch)
treea28d9bf2327188fbf32cfb69da940fb1b119b914 /Lib/distutils
parente18dd8dd8fa4bf99e4a2d58afc16894e29256b6f (diff)
downloadcpython-43955c9a023ea7b50b28052112dbdc914c090a27.zip
cpython-43955c9a023ea7b50b28052112dbdc914c090a27.tar.gz
cpython-43955c9a023ea7b50b28052112dbdc914c090a27.tar.bz2
Fix 'reinitialize_command()' so it resets the 'have_run' flag for the
command being reinitialized to false.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 64f63ad..44f5c88 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -712,6 +712,7 @@ class Distribution:
return command
command.initialize_options()
command.finalized = 0
+ self.have_run[command_name] = 0
self._set_command_options(command)
return command