summaryrefslogtreecommitdiff
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
parent5ef71a412171ac5e4b2d693ffbe9d8baa0df3106 (diff)
downloadopenembedded-core-ab3b4576ceb691fad685b71bf3e3e957b1c12455.tar.gz
openembedded-core-ab3b4576ceb691fad685b71bf3e3e957b1c12455.tar.bz2
openembedded-core-ab3b4576ceb691fad685b71bf3e3e957b1c12455.zip
bitbake-dev: Fix knotty fatal message handling and ignore configparsed events
-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):
if event[0].startswith('bb.msg.MsgError'):
return_value = 1
print 'ERROR: ' + event[1]['_message']
- break
+ continue
if event[0].startswith('bb.msg.MsgFatal'):
return_value = 1
print 'FATAL: ' + event[1]['_message']
- continue
+ break
if event[0].startswith('bb.build.TaskFailed'):
return_value = 1
logfile = event[1]['logfile']
@@ -141,6 +141,8 @@ def init(server, eventHandler):
continue
if event[0].startswith('bb.event.StampUpdate'):
continue
+ if event[0].startswith('bb.event.ConfigParsed'):
+ continue
print "Unknown Event: %s" % event
except KeyboardInterrupt: