]> granicus.if.org Git - python/commitdiff
be explicit about the actual location of the missing file
authorSkip Montanaro <skip@pobox.com>
Sat, 8 Sep 2007 00:34:17 +0000 (00:34 +0000)
committerSkip Montanaro <skip@pobox.com>
Sat, 8 Sep 2007 00:34:17 +0000 (00:34 +0000)
Lib/distutils/dep_util.py

index c139c852e47c25ca9f81c750dcda874768710048..2c6d7927f019f949a49cea9f9fa1b6fb6c949b0b 100644 (file)
@@ -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