]> code.ossystems Code Review - openembedded-core.git/commit
devtool: improve parse failure handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 6 Feb 2017 20:45:43 +0000 (09:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2017 14:48:55 +0000 (14:48 +0000)
commitb9592bd3c1ab2155b9f62d18ce593b9c88eff279
tree802637a407c34fd44ab9476f6ae6ce442bf98c10
parent3427508b6ce865654f8bf01a6fc04b83c70315d3
devtool: improve parse failure handling

With the move to tinfoil2, the behaviour when parsing failed has changed
a bit - exceptions are now raised, so handle these appropriately.
Specifically when if parsing the recipe created when running devtool add
fails, rename it to .bb.parsefailed so that the user can run bitbake
afterwards without parsing being interrupted.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/__init__.py
scripts/lib/devtool/standard.py