bitbake-dev: Handle fatal events correctly

This commit is contained in:
Richard Purdie 2008-11-07 13:31:05 +00:00
parent f3a6210e93
commit 5be6bb070b
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ def init(server, eventHandler):
if event[0].startswith('bb.msg.MsgError'):
return_value = 1
print 'ERROR: ' + event[1]['_message']
break
if event[0].startswith('bb.msg.MsgFatal'):
return_value = 1
print 'FATAL: ' + event[1]['_message']
continue
if event[0].startswith('bb.build.TaskFailed'):
return_value = 1