diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-06-02 14:32:17 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-06-02 14:32:19 -0700 |
commit | d6a0ffdd583be3df734171d7e91d334f798a79ce (patch) | |
tree | 12ef5fcd91b21806266f3e35335f3b6d1151f2f0 /lib/bb/event.py | |
parent | 610f649abdcdaaee282ed75a83eab838e4b4f0b0 (diff) | |
download | bitbake-d6a0ffdd583be3df734171d7e91d334f798a79ce.tar.gz |
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.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index 16d936c1b..ef64f519f 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -88,7 +88,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 = [] |