diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-09-10 13:02:04 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:36 +0000 |
commit | 311c9f5042136077e234871c058a965ad4fbc9fc (patch) | |
tree | 4988490a22eb618a0dd5cbfcd254ec425ef5e4ce /bitbake/lib/bb | |
parent | c90bfa57f5368ff833dc0a39c010a13df8c3b54c (diff) | |
download | openembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.tar.gz openembedded-core-311c9f5042136077e234871c058a965ad4fbc9fc.tar.bz2 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/bb')
-rw-r--r-- | bitbake/lib/bb/build.py | 2 |
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): 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 |