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.
This commit is contained in:
Fred Drake 2001-03-02 07:28:03 +00:00
parent ad2c3c7b69
commit 53a79060bb
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class build_scripts (Command):
return return
self.copy_scripts() self.copy_scripts()
def copy_scripts (self): def copy_scripts (self):
"""Copy each script listed in 'self.scripts'; if it's marked as a """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', 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)) outfile = os.path.join(self.build_dir, os.path.basename(script))
if not self.force and not newer(script, outfile): 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 continue
# Always open the file, but ignore failures in dry-run mode -- # Always open the file, but ignore failures in dry-run mode --