]> granicus.if.org Git - python/commitdiff
Wrap a comment to fit in 80 columns.
authorFred Drake <fdrake@acm.org>
Fri, 10 Aug 2001 18:59:30 +0000 (18:59 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 10 Aug 2001 18:59:30 +0000 (18:59 +0000)
Use construction-syntax for an exception to make the argument easier
to read.

Lib/distutils/dist.py

index 824a0d3e6a9dbf4a425ce37b74028c2949111f32..3803f5cc681013cb27251ede7c2971aef10e8a94 100644 (file)
@@ -375,8 +375,8 @@ class Distribution:
         help).
         """
         #
-        # We now have enough information to show the Macintosh dialog that allows
-        # the user to interactively specify the "command line".
+        # We now have enough information to show the Macintosh dialog
+        # that allows the user to interactively specify the "command line".
         #
         if sys.platform == 'mac':
             import EasyDialogs
@@ -508,10 +508,10 @@ class Distribution:
                     if callable(func):
                         func()
                     else:
-                        raise DistutilsClassError, \
-                            ("invalid help function %s for help option '%s': "
-                             "must be a callable object (function, etc.)") % \
-                            (`func`, help_option)
+                        raise DistutilsClassError(
+                            "invalid help function %s for help option '%s': "
+                            "must be a callable object (function, etc.)"
+                            % (`func`, help_option))
 
             if help_option_found: 
                 return