In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the

real implementation in Distribution.
This commit is contained in:
Greg Ward 2000-09-16 15:25:55 +00:00
parent f449ea51aa
commit ecce14522c
1 changed files with 3 additions and 2 deletions

View File

@ -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