diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 15:54:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 16:31:23 +0100 |
commit | f63b61f8997862439519f474cc09f3e05e95288c (patch) | |
tree | c104b8272d742bee1f92578ad480ad4e46d0c47d /lib/bb/event.py | |
parent | e01988d9a1b7c40e31161c6ce7b85c4405671068 (diff) | |
download | bitbake-contrib-f63b61f8997862439519f474cc09f3e05e95288c.tar.gz |
event.py: Allow passthrough of BBHandledException events
We need BBHandledException events to be passed through to the higher
layers, they don't need addition of any traceback since they've already
been reported to the user.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 04d775c3c..05ff5434a 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -72,7 +72,7 @@ def execute_handler(name, handler, event, d): event.data = d try: ret = handler(event) - except bb.parse.SkipPackage: + except (bb.parse.SkipPackage, bb.BBHandledException): raise except Exception: etype, value, tb = sys.exc_info() |