From 0539313b0996d86e3cf9d5bd666d9e1eaa525bca Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sat, 8 Sep 2007 00:34:17 +0000 Subject: be explicit about the actual location of the missing file --- Lib/distutils/dep_util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py index c139c85..2c6d792 100644 --- a/Lib/distutils/dep_util.py +++ b/Lib/distutils/dep_util.py @@ -19,7 +19,8 @@ def newer (source, target): Raise DistutilsFileError if 'source' does not exist. """ 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): return 1 -- cgit v0.12