]> granicus.if.org Git - python/commitdiff
In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the
authorGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:25:55 +0000 (15:25 +0000)
committerGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:25:55 +0000 (15:25 +0000)
real implementation in Distribution.

Lib/distutils/cmd.py

index 61d234bb4e8e3cc7b4661760579176438da0ce8a..7866d1b607081edb84f09c3f19fff4fd598cdf12 100644 (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