aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2013-11-12 13:29:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 16:00:20 +0000
commitef35e164c62d89806367b822e3baeff482ec237f (patch)
tree154f3d92bfb8ba8f48fb9d6283d834af837e83ba /meta/recipes-devtools/binutils/binutils.inc
parent915c1a35ed3ac7eb650d68c079d6b7cda781b106 (diff)
downloadopenembedded-core-contrib-ef35e164c62d89806367b822e3baeff482ec237f.tar.gz
insane, license: Trap MalformedUrl exceptions when parsing LIC_FILES_CHKSUM
bb.fetch.decodeurl() will throw if it doesn't like the look of the URL that it's given. (Bitbake's idea of what constitutes a valid URL is somewhat idiosyncratic so it is fairly easy to trip over this by mistake when writing a recipe.) If these exceptions are allowed to propagate all the way up to better_exec() then we will get a large amount of python stack trace spew when they are finally caught. Avoid that by catching them locally and throwing bb.build.FuncFailed() with a suitable explanation instead. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils.inc')
0 files changed, 0 insertions, 0 deletions