bitbake-dev: Fix knotty fatal message handling and ignore configparsed events

This commit is contained in:
Richard Purdie 2008-11-07 13:55:00 +00:00
parent 5ef71a4121
commit ab3b4576ce
1 changed files with 4 additions and 2 deletions

View File

@ -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: