[Python-checkins] CVS: python/dist/src/Lib/distutils dist.py,1.48,1.49
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 10 Aug 2001 11:59:32 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv4835/Lib/distutils
Modified Files:
dist.py
Log Message:
Wrap a comment to fit in 80 columns.
Use construction-syntax for an exception to make the argument easier
to read.
Index: dist.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/dist.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** dist.py 2001/08/10 18:49:23 1.48
--- dist.py 2001/08/10 18:59:30 1.49
***************
*** 376,381 ****
"""
#
! # We now have enough information to show the Macintosh dialog that allows
! # the user to interactively specify the "command line".
#
if sys.platform == 'mac':
--- 376,381 ----
"""
#
! # We now have enough information to show the Macintosh dialog
! # that allows the user to interactively specify the "command line".
#
if sys.platform == 'mac':
***************
*** 509,516 ****
func()
else:
! raise DistutilsClassError, \
! ("invalid help function %s for help option '%s': "
! "must be a callable object (function, etc.)") % \
! (`func`, help_option)
if help_option_found:
--- 509,516 ----
func()
else:
! raise DistutilsClassError(
! "invalid help function %s for help option '%s': "
! "must be a callable object (function, etc.)"
! % (`func`, help_option))
if help_option_found: