]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix 'reinitialize_command()' so it resets the 'have_run' flag for the
authorGreg Ward <gward@python.net>
Tue, 6 Jun 2000 02:52:36 +0000 (02:52 +0000)
committerGreg Ward <gward@python.net>
Tue, 6 Jun 2000 02:52:36 +0000 (02:52 +0000)
command being reinitialized to false.

Lib/distutils/dist.py

index 64f63add57f1750dc14b19dbc2b3c5a238739629..44f5c8806ad5daceea391ccf25031b1a70442ce1 100644 (file)
@@ -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