From 53a79060bb998e5f1553ba24cdcf81dcfcb41491 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 2 Mar 2001 07:28:03 +0000 Subject: [PATCH] When not copying a file because the output is up to date, make the message 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py index 1f68899ce95..ee7f4e2d1e7 100644 --- a/Lib/distutils/command/build_scripts.py +++ b/Lib/distutils/command/build_scripts.py @@ -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 --