summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-10 13:02:04 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:36 +0000
commit311c9f5042136077e234871c058a965ad4fbc9fc (patch)
tree4988490a22eb618a0dd5cbfcd254ec425ef5e4ce /bitbake/lib/bb/build.py
parentc90bfa57f5368ff833dc0a39c010a13df8c3b54c (diff)
downloadpoky-311c9f5042136077e234871c058a965ad4fbc9fc.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
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):
49 49
50 def __str__(self): 50 def __str__(self):
51 msg = "Function '%s' failed" % self.name 51 msg = "Function '%s' failed" % self.name
52 if self.logfile: 52 if self.logfile and os.path.exists(self.logfile):
53 msg += " (see %s for further information)" % self.logfile 53 msg += " (see %s for further information)" % self.logfile
54 return msg 54 return msg
55 55