From 311c9f5042136077e234871c058a965ad4fbc9fc Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 10 Sep 2010 13:02:04 -0700 Subject: Only reference logfiles that exist (Bitbake rev: 760f647ba044009150ee219869fc9dea171a7535) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/build.py') 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 -- cgit v1.2.3-54-g00ecf