diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-10 10:44:20 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-06-10 10:44:28 -0700 |
commit | 2197182fe5837d74f1499c644e882e87cf035238 (patch) | |
tree | adafa4c97959da1375069fe7a2b599399a36342c /lib | |
parent | 0c885752d69e4108e2960d59ec1bd6c911dd141a (diff) | |
download | bitbake-2197182fe5837d74f1499c644e882e87cf035238.tar.gz |
knotty: stop freaking out and dying when bb.build has removed the empty logfile
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 828e9d235..1bc9ee67c 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -94,7 +94,7 @@ def init(server, eventHandler): if isinstance(event, bb.build.TaskFailed): return_value = 1 logfile = event.logfile - if logfile: + if logfile and os.path.exists(logfile): print("ERROR: Logfile of failure stored in: %s" % logfile) if 1 or includelogs: print("Log data follows:") |