summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:31:05 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:31:05 +0000
commit5be6bb070bd726e085ca8a69b80f65519d33ca1f (patch)
tree59e5d37ba05d48462dab392948396d51789f1e27 /bitbake-dev/lib
parentf3a6210e9333719fbc2a0143903123ee0ddceffe (diff)
downloadpoky-5be6bb070bd726e085ca8a69b80f65519d33ca1f.tar.gz
bitbake-dev: Handle fatal events correctly
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 4b4d6b03af..7793a53099 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -71,6 +71,10 @@ def init(server, eventHandler):
71 if event[0].startswith('bb.msg.MsgError'): 71 if event[0].startswith('bb.msg.MsgError'):
72 return_value = 1 72 return_value = 1
73 print 'ERROR: ' + event[1]['_message'] 73 print 'ERROR: ' + event[1]['_message']
74 break
75 if event[0].startswith('bb.msg.MsgFatal'):
76 return_value = 1
77 print 'FATAL: ' + event[1]['_message']
74 continue 78 continue
75 if event[0].startswith('bb.build.TaskFailed'): 79 if event[0].startswith('bb.build.TaskFailed'):
76 return_value = 1 80 return_value = 1