]> 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>
Mon, 11 Jan 2016 15:41:06 +0000 (15:41 +0000)
commit0164dc66467739b357ab22bf9b8c0845f3eff4a4
treea7fc441239ccd6fcb22a28ce68ddf7bcefb20ecb
parent1a60ee8bd21e156022c928f12bb296ab5caaa766
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.

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