From edc6a519dc7801d22b3105f25327606476f4cc46 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Wed, 28 Jun 2000 00:36:40 +0000 Subject: Fixed to use 'reinitialize_command()' to fetch the "install" command object. --- Lib/distutils/command/bdist_dumb.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 51e35e4..f9c81fc 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -58,12 +58,7 @@ class bdist_dumb (Command): self.run_command ('build') - # XXX don't use 'self.get_finalized_command()', because it always runs - # 'ensure_finalized()' on the command object; we explictly want a - # command object that has *not* been finalized, so we can set - # options on it! (The option we set, 'root', is so that we can do - # a proper "fake install" using this install command object.) - install = self.distribution.get_command_obj('install') + install = self.reinitialize_command('install') install.root = self.bdist_dir self.announce ("installing to %s" % self.bdist_dir) -- cgit v0.12