summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:55:00 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 13:59:12 +0000
commitab3b4576ceb691fad685b71bf3e3e957b1c12455 (patch)
tree9f52a9b2987b6c73a665ae3680275e6fb060540a /bitbake-dev/lib
parent5ef71a412171ac5e4b2d693ffbe9d8baa0df3106 (diff)
downloadpoky-ab3b4576ceb691fad685b71bf3e3e957b1c12455.tar.gz
bitbake-dev: Fix knotty fatal message handling and ignore configparsed events
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 7793a53099..04c5e75af2 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -71,11 +71,11 @@ 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 74 continue
75 if event[0].startswith('bb.msg.MsgFatal'): 75 if event[0].startswith('bb.msg.MsgFatal'):
76 return_value = 1 76 return_value = 1
77 print 'FATAL: ' + event[1]['_message'] 77 print 'FATAL: ' + event[1]['_message']
78 continue 78 break
79 if event[0].startswith('bb.build.TaskFailed'): 79 if event[0].startswith('bb.build.TaskFailed'):
80 return_value = 1 80 return_value = 1
81 logfile = event[1]['logfile'] 81 logfile = event[1]['logfile']
@@ -141,6 +141,8 @@ def init(server, eventHandler):
141 continue 141 continue
142 if event[0].startswith('bb.event.StampUpdate'): 142 if event[0].startswith('bb.event.StampUpdate'):
143 continue 143 continue
144 if event[0].startswith('bb.event.ConfigParsed'):
145 continue
144 print "Unknown Event: %s" % event 146 print "Unknown Event: %s" % event
145 147
146 except KeyboardInterrupt: 148 except KeyboardInterrupt: