]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: improve parse failure handling paule/devtool25
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 31 Jan 2017 20:56:14 +0000 (09:56 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 6 Feb 2017 20:43:52 +0000 (09:43 +1300)
commit785518d6e6f7190350fb858867684d2f70d4671a
tree8a9a48555dbf0eaac1b9d0829a33ea6e7f338e0c
parentede21e1bb24714c94f2fe7a97749127a03ccd8fb
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>
scripts/create-pull-request
scripts/lib/devtool/__init__.py
scripts/lib/devtool/standard.py