bitbake-dev: Fix knotty fatal message handling and ignore configparsed events
This commit is contained in:
parent
5ef71a4121
commit
ab3b4576ce
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue