summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-02 07:28:03 (GMT)
committerFred Drake <fdrake@acm.org>2001-03-02 07:28:03 (GMT)
commit53a79060bb998e5f1553ba24cdcf81dcfcb41491 (patch)
treeaa51afed4f90b7080c7e382b3da158fd363266df /Lib/distutils
parentad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba (diff)
downloadcpython-53a79060bb998e5f1553ba24cdcf81dcfcb41491.zip
cpython-53a79060bb998e5f1553ba24cdcf81dcfcb41491.tar.gz
cpython-53a79060bb998e5f1553ba24cdcf81dcfcb41491.tar.bz2
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.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/build_scripts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py
index 1f68899..ee7f4e2 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 --