From: Greg Ward Date: Sat, 16 Sep 2000 15:25:55 +0000 (+0000) Subject: In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the X-Git-Tag: v2.0b2~257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecce14522c3644cdb011cf9db3c88a430f09cf45;p=thirdparty%2FPython%2Fcpython.git In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the real implementation in Distribution. --- diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 61d234bb4e8e..7866d1b60708 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -316,8 +316,9 @@ class Command: # XXX rename to 'get_reinitialized_command()'? (should do the # same in dist.py, if so) - def reinitialize_command (self, command): - return self.distribution.reinitialize_command(command) + def reinitialize_command (self, command, reinit_subcommands=0): + return self.distribution.reinitialize_command( + command, reinit_subcommands) def run_command (self, command): """Run some other command: uses the 'run_command()' method of