diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2009-10-17 19:29:48 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2009-10-17 19:29:48 +0100 |
commit | 0a6f8c8888bd6d50b99dd6074a2fdc63fda4cc8b (patch) | |
tree | 38798f1a97c45a030650e7dab94494c980a8f5de /lib/bb/ui/knotty.py | |
parent | ce152513d725c53e7100be47952275aacfd58adb (diff) | |
download | bitbake-0a6f8c8888bd6d50b99dd6074a2fdc63fda4cc8b.tar.gz |
knotty: Add new event from compare reivions code
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index a8b5829e4..8a2afeeb6 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -120,6 +120,9 @@ def init(server, eventHandler): if event[0] == 'bb.command.CookerCommandCompleted': break + if event[0] == 'bb.command.CookerCommandSetExitCode': + return_value = event[1]['exitcode'] + continue if event[0] == 'bb.command.CookerCommandFailed': return_value = 1 print "Command execution failed: %s" % event[1]['error'] |