Commit 69af9b58 authored by Skip Montanaro's avatar Skip Montanaro

be explicit about the actual location of the missing file

parent 8654a69e
...@@ -19,7 +19,8 @@ def newer (source, target): ...@@ -19,7 +19,8 @@ def newer (source, target):
Raise DistutilsFileError if 'source' does not exist. Raise DistutilsFileError if 'source' does not exist.
""" """
if not os.path.exists(source): if not os.path.exists(source):
raise DistutilsFileError, "file '%s' does not exist" % source raise DistutilsFileError, ("file '%s' does not exist" %
os.path.abspath(source))
if not os.path.exists(target): if not os.path.exists(target):
return 1 return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment