summaryrefslogtreecommitdiff
path: root/bitbake/lib
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
parentc90bfa57f5368ff833dc0a39c010a13df8c3b54c (diff)
downloadopenembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.tar.gz
openembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.tar.bz2
openembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.tar.xz
openembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.zip
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')
-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 7061cee20..f602e0c0a 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