From: Chris Larson Date: Fri, 10 Sep 2010 20:02:04 +0000 (-0700) Subject: Only reference logfiles that exist X-Git-Tag: 2011-1~3157 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=311c9f5042136077e234871c058a965ad4fbc9fc;p=openembedded-core.git Only reference logfiles that exist (Bitbake rev: 760f647ba044009150ee219869fc9dea171a7535) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 7061cee20d..f602e0c0ab 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -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