git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
357d644
)
patch.bbclass: avoid traceback for CmdError at resolve
author
Chris Larson
<chris_larson@mentor.com>
Thu, 21 Oct 2010 23:18:27 +0000
(16:18 -0700)
committer
Chris Larson
<chris_larson@mentor.com>
Fri, 22 Oct 2010 01:52:03 +0000
(18:52 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/patch.bbclass
patch
|
blob
|
history
diff --git
a/classes/patch.bbclass
b/classes/patch.bbclass
index
58b931f
..
7629e9a
100644
(file)
--- a/
classes/patch.bbclass
+++ b/
classes/patch.bbclass
@@
-115,10
+115,9
@@
python patch_do_patch() {
bb.note("Applying patch '%s' (%s)" % (pname, oe.path.format_display(local, d)))
try:
patchset.Import({"file":local, "remote":url, "strippath": striplevel}, True)
- except Exception:
- import sys
- raise bb.build.FuncFailed(str(sys.exc_value))
- resolver.Resolve()
+ resolver.Resolve()
+ except Exception, exc:
+ bb.fatal(str(exc))
}
addtask patch after do_unpack