Commit bd2c4c6e authored by Greg Ward's avatar Greg Ward

Use 'get_command_obj()' instead of 'find_command_obj()'.

parent 70c82d88
......@@ -183,7 +183,7 @@ class Command:
# Option_pairs: list of (src_option, dst_option) tuples
src_cmd_obj = self.distribution.find_command_obj (src_cmd)
src_cmd_obj = self.distribution.get_command_obj (src_cmd)
src_cmd_obj.ensure_ready ()
for (src_option, dst_option) in option_pairs:
if getattr (self, dst_option) is None:
......@@ -192,11 +192,11 @@ class Command:
def find_peer (self, command, create=1):
"""Wrapper around Distribution's 'find_command_obj()' method:
"""Wrapper around Distribution's 'get_command_obj()' method:
find (create if necessary and 'create' is true) the command
object for 'command'.."""
cmd_obj = self.distribution.find_command_obj (command, create)
cmd_obj = self.distribution.get_command_obj (command, create)
cmd_obj.ensure_ready ()
return cmd_obj
......
......@@ -63,7 +63,7 @@ class bdist_dumb (Command):
# 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.find_command_obj('install')
install = self.distribution.get_command_obj('install')
install.root = self.bdist_dir
self.announce ("installing to %s" % self.bdist_dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment