event: don't catch systemexit from handler execution

This means that anyone firing an event can get a systemexit and result in
their process exiting, which isn't ideal, but behaves the way it used to (in
particular, ensures that a sanity check failure will halt the build). This
should be revisited in the future.

(Bitbake rev: d6a0ffdd583be3df734171d7e91d334f798a79ce)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chris Larson 2011-06-02 14:32:17 -07:00 committed by Richard Purdie
parent 18011c1a06
commit 6b5d323b6c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def fire_class_handlers(event, d):
for name, handler in _handlers.iteritems():
try:
execute_handler(name, handler, event, d)
except BaseException:
except Exception:
continue
ui_queue = []