1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

Only reference logfiles that exist

(Bitbake rev: 760f647ba044009150ee219869fc9dea171a7535)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson
2010-09-10 13:02:04 -07:00
committed by Richard Purdie
parent c90bfa57f5
commit 311c9f5042
+1 -1
View File
@@ -49,7 +49,7 @@ class FuncFailed(Exception):
def __str__(self):
msg = "Function '%s' failed" % self.name
if self.logfile:
if self.logfile and os.path.exists(self.logfile):
msg += " (see %s for further information)" % self.logfile
return msg