From ab3b4576ceb691fad685b71bf3e3e957b1c12455 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Nov 2008 13:55:00 +0000 Subject: bitbake-dev: Fix knotty fatal message handling and ignore configparsed events --- bitbake-dev/lib/bb/ui/knotty.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bitbake-dev/lib') diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py index 7793a5309..04c5e75af 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: -- cgit v1.2.3