diff options
author | Greg Ward <gward@python.net> | 2000-09-16 15:25:55 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-16 15:25:55 (GMT) |
commit | ecce14522c3644cdb011cf9db3c88a430f09cf45 (patch) | |
tree | 589cc3bf74e8cf6aaf466db87eb0667946fef2ff /Lib/distutils/cmd.py | |
parent | f449ea51aa9b72bf8d8ea7a19e87c5a169fc9605 (diff) | |
download | cpython-ecce14522c3644cdb011cf9db3c88a430f09cf45.zip cpython-ecce14522c3644cdb011cf9db3c88a430f09cf45.tar.gz cpython-ecce14522c3644cdb011cf9db3c88a430f09cf45.tar.bz2 |
In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the
real implementation in Distribution.
Diffstat (limited to 'Lib/distutils/cmd.py')
-rw-r--r-- | Lib/distutils/cmd.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 61d234b..7866d1b 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 |