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 changed files with 1 additions and 1 deletions

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