diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-03-08 16:11:05 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-03-08 16:11:05 +0000 |
commit | 42af6588791236c95c21053ac9d6c54281cf1952 (patch) | |
tree | fd4248e5412839c433429dc99afb2b29b501dd95 | |
parent | 4c5de91d3d9eab1181e93cb6497f3cb46ce92e9a (diff) | |
download | bitbake-42af6588791236c95c21053ac9d6c54281cf1952.tar.gz |
lib/bb/utils.py:
Do not report RuntimeErrors for SkipPackage and FuncFailed
-rw-r--r-- | lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py index e19bd97a4..5b3cb38d8 100644 --- a/lib/bb/utils.py +++ b/lib/bb/utils.py @@ -143,8 +143,8 @@ def better_exec(code, context, text, realfile): except: (t,value,tb) = sys.exc_info() - if t == bb.parse.SkipPackage: - raise t(value) + if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: + raise # print the Header of the Error Message bb.error("Error in executing: ", realfile) |