When not copying a file because the output is up to date, make the message
authorFred Drake <fdrake@acm.org>
Fri, 2 Mar 2001 07:28:03 +0000 (07:28 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 2 Mar 2001 07:28:03 +0000 (07:28 +0000)
slightly more brief, and more like the message that an extension will not
be built because the built copy is up to date.

Lib/distutils/command/build_scripts.py

index 1f68899ce95ddca4c6684675008790e2a81167ee..ee7f4e2d1e7b3d66cb06fdbf296a48784b769874 100644 (file)
@@ -45,7 +45,7 @@ class build_scripts (Command):
             return
         self.copy_scripts()
 
-        
+
     def copy_scripts (self):
         """Copy each script listed in 'self.scripts'; if it's marked as a
         Python script in the Unix way (first line matches 'first_line_re',
@@ -59,7 +59,7 @@ class build_scripts (Command):
             outfile = os.path.join(self.build_dir, os.path.basename(script))
 
             if not self.force and not newer(script, outfile):
-                self.announce("not copying %s (output up-to-date)" % script)
+                self.announce("not copying %s (up-to-date)" % script)
                 continue
 
             # Always open the file, but ignore failures in dry-run mode --