From: Skip Montanaro Date: Sat, 8 Sep 2007 00:34:17 +0000 (+0000) Subject: be explicit about the actual location of the missing file X-Git-Tag: v2.6a1~1327 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0539313b0996d86e3cf9d5bd666d9e1eaa525bca;p=thirdparty%2FPython%2Fcpython.git be explicit about the actual location of the missing file --- diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py index c139c852e47c..2c6d7927f019 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