]> code.ossystems Code Review - openembedded-core.git/commit
devtool: sdk-update: fix error checking
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 Jan 2016 11:15:47 +0000 (00:15 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jan 2016 15:41:32 +0000 (15:41 +0000)
commitd9c5653f994e0f366c9154a2a988175a9f8e3130
tree9dc8fee3bceab907515edf840e570c53d34d48b2
parenta0e1ff92b189681df5cf106dc924e76bb05caf31
devtool: sdk-update: fix error checking

Running "raise" with no arguments here is invalid, we're not in
exception handling context. Rather than also adding code to catch the
exception I just moved the check out to the parent function from which
we can just exit.

(From OE-Core master rev: 0164dc66467739b357ab22bf9b8c0845f3eff4a4)

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