mirror of https://github.com/python/cpython.git
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:
parent
ad2c3c7b69
commit
53a79060bb
|
@ -45,7 +45,7 @@ def run (self):
|
|||
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 @@ def copy_scripts (self):
|
|||
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 --
|
||||
|
|
Loading…
Reference in New Issue