summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-16 15:25:55 +0000
committerGreg Ward <gward@python.net>2000-09-16 15:25:55 +0000
commitde3b61ceeb819725438480f8d6a8459a6e7c3ddc (patch)
treed8b953c1e83f0efa5e9545bbde6b8461353858fe
parentb9ec48657e016dec89a75aeff3ce15278c517bbb (diff)
downloadcpython-de3b61ceeb819725438480f8d6a8459a6e7c3ddc.tar.gz
In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the
real implementation in Distribution.
-rw-r--r--Lib/distutils/cmd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py
index 61d234bb4e..7866d1b607 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