]> code.ossystems Code Review - openembedded-core.git/commit
devtool: extract: fix error handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 14 Oct 2015 15:43:24 +0000 (16:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Oct 2015 16:48:34 +0000 (17:48 +0100)
commita46fb1a06be2df00a0bceb4e60ebdecb55b5974c
tree09f4304d3192698f8ba6415d8694f669921b2978
parentbd8ff33cf2439536c6e41cf0ee9dd8fb3b64770a
devtool: extract: fix error handling

If recipe parsing fails we need to exit out instead of attempting to use
the data object that's set to None, which resulted in a traceback.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py