[Python-checkins] CVS: distutils/distutils cmd.py,1.10,1.11
Greg Ward
python-dev@python.org
Mon, 22 May 2000 18:54:20 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30262
Modified Files:
cmd.py
Log Message:
Use 'get_command_obj()' instead of 'find_command_obj()'.
Index: cmd.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/cmd.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** cmd.py 2000/05/13 03:10:30 1.10
--- cmd.py 2000/05/23 01:54:17 1.11
***************
*** 7,11 ****
# (extricated from core.py; actually dates back to the beginning)
! __revision__ = "$Id: cmd.py,v 1.10 2000/05/13 03:10:30 greg Exp $"
import sys, os, string
--- 7,11 ----
# (extricated from core.py; actually dates back to the beginning)
! __revision__ = "$Id: cmd.py,v 1.11 2000/05/23 01:54:17 gward Exp $"
import sys, os, string
***************
*** 184,188 ****
# Option_pairs: list of (src_option, dst_option) tuples
! src_cmd_obj = self.distribution.find_command_obj (src_cmd)
src_cmd_obj.ensure_ready ()
for (src_option, dst_option) in option_pairs:
--- 184,188 ----
# Option_pairs: list of (src_option, dst_option) tuples
! src_cmd_obj = self.distribution.get_command_obj (src_cmd)
src_cmd_obj.ensure_ready ()
for (src_option, dst_option) in option_pairs:
***************
*** 193,201 ****
def find_peer (self, command, create=1):
! """Wrapper around Distribution's 'find_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.ensure_ready ()
return cmd_obj
--- 193,201 ----
def find_peer (self, command, create=1):
! """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.get_command_obj (command, create)
cmd_obj.ensure_ready ()
return cmd_obj