From: Greg Ward Date: Tue, 6 Jun 2000 02:52:36 +0000 (+0000) Subject: Fix 'reinitialize_command()' so it resets the 'have_run' flag for the X-Git-Tag: v2.0b1~1568 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43955c9a023ea7b50b28052112dbdc914c090a27;p=thirdparty%2FPython%2Fcpython.git Fix 'reinitialize_command()' so it resets the 'have_run' flag for the command being reinitialized to false. --- diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 64f63add57f1..44f5c8806ad5 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