aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 15:54:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:23 +0100
commitf63b61f8997862439519f474cc09f3e05e95288c (patch)
treec104b8272d742bee1f92578ad480ad4e46d0c47d /lib
parente01988d9a1b7c40e31161c6ce7b85c4405671068 (diff)
downloadbitbake-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')
-rw-r--r--lib/bb/event.py2
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()