summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-06-02 14:32:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-02 23:58:05 +0100
commit6b5d323b6c8960a0999dbafa0422fe127fd0fa97 (patch)
treef6e534051d95c971aed49cd3ef027a24075e0bcd /bitbake/lib/bb/event.py
parent18011c1a06def5d2ec709ab1958042ef20b394a8 (diff)
downloadpoky-6b5d323b6c8960a0999dbafa0422fe127fd0fa97.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. (Bitbake rev: d6a0ffdd583be3df734171d7e91d334f798a79ce) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 9e64fe5c42..cbe49fd699 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -87,7 +87,7 @@ def fire_class_handlers(event, d):
87 for name, handler in _handlers.iteritems(): 87 for name, handler in _handlers.iteritems():
88 try: 88 try:
89 execute_handler(name, handler, event, d) 89 execute_handler(name, handler, event, d)
90 except BaseException: 90 except Exception:
91 continue 91 continue
92 92
93ui_queue = [] 93ui_queue = []