bitbake: 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.

(Bitbake rev: f63b61f8997862439519f474cc09f3e05e95288c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2014-05-30 15:54:29 +01:00
parent ab29933898
commit 044296ce4c
1 changed files with 1 additions and 1 deletions

View File

@ -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()