summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 18:55:54 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 18:55:54 (GMT)
commite22bc1e84135765456dee6337e6e6f61245aa694 (patch)
tree86833f48f108a24f4eec8d85683e805132971fe1 /Lib/distutils
parente53e7a2c7db0b940768c7f111c038a883c5962c1 (diff)
downloadcpython-e22bc1e84135765456dee6337e6e6f61245aa694.zip
cpython-e22bc1e84135765456dee6337e6e6f61245aa694.tar.gz
cpython-e22bc1e84135765456dee6337e6e6f61245aa694.tar.bz2
The comment said:
# XXX this isn't used anywhere, and worse, it has the same name as a method # in Command with subtly different semantics. (This one just has one # source -> one dest; that one has many sources -> one dest.) Nuke it? Yes. Nuke it.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/dep_util.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py
index 9edba4c..bbb6d23 100644
--- a/Lib/distutils/dep_util.py
+++ b/Lib/distutils/dep_util.py
@@ -93,23 +93,3 @@ def newer_group (sources, target, missing='error'):
return 0
# newer_group ()
-
-
-# XXX this isn't used anywhere, and worse, it has the same name as a method
-# in Command with subtly different semantics. (This one just has one
-# source -> one dest; that one has many sources -> one dest.) Nuke it?
-def make_file (src, dst, func, args,
- verbose=0, update_message=None, noupdate_message=None):
- """Makes 'dst' from 'src' (both filenames) by calling 'func' with
- 'args', but only if it needs to: i.e. if 'dst' does not exist or 'src'
- is newer than 'dst'.
- """
- if newer(src, dst):
- if verbose and update_message:
- print update_message
- apply(func, args)
- else:
- if verbose and noupdate_message:
- print noupdate_message
-
-# make_file ()