diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 15:54:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-01 14:29:31 +0100 |
commit | 044296ce4c40edb9b5584a5f4118882944b248f6 (patch) | |
tree | a880cbfc262b4ba40c8fab9dbb57d75371241fbf | |
parent | ab29933898e8b44b59349c568516cd7a71146dac (diff) | |
download | ast2050-yocto-poky-044296ce4c40edb9b5584a5f4118882944b248f6.zip ast2050-yocto-poky-044296ce4c40edb9b5584a5f4118882944b248f6.tar.gz |
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>
-rw-r--r-- | bitbake/lib/bb/event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 04d775c..05ff543 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/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() |