projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5de91
)
lib/bb/utils.py:
author
Holger Hans Peter Freyther
<zecke@selfish.org>
Wed, 8 Mar 2006 16:11:05 +0000
(16:11 +0000)
committer
Holger Hans Peter Freyther
<zecke@selfish.org>
Wed, 8 Mar 2006 16:11:05 +0000
(16:11 +0000)
Do not report RuntimeErrors for SkipPackage and FuncFailed
lib/bb/utils.py
patch
|
blob
|
history
diff --git
a/lib/bb/utils.py
b/lib/bb/utils.py
index
e19bd97
..
5b3cb38
100644
(file)
--- 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)