poky/scripts/lib/devtool
Paul Eggleton a897bfdbdc devtool: sdk-update: fix traceback without update server set
If the SDK update server hasn't been set in the config (when building
the extensible SDK this would be set via SDK_UPDATE_URL) and it wasn't
specified on the command line then we were failing with a traceback
because we didn't pass the default value properly - None is interpreted
as no default, meaning raise an exception if no such option exists.

Additionally we don't need the try...except anymore either because with
a proper default value, NoSectionError is caught as well.

(From OE-Core master rev: 9763c1b83362f8445ed6dff2804dd7d282861f79)

(From OE-Core rev: b2696869c1428e8ef2a198d2432121ddc2e2034c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-15 15:51:40 +00:00
..
__init__.py devtool: update-recipe: enable var history tracking 2015-10-01 15:07:48 +01:00
build-image.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
build.py devtool: check that source tree still exists 2015-09-23 09:53:14 +01:00
deploy.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
package.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
runqemu.py devtool: runqemu: avoid recipe parse 2015-09-24 17:54:25 +01:00
sdk.py devtool: sdk-update: fix traceback without update server set 2016-01-15 15:51:40 +00:00
search.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
standard.py devtool: upgrade: fix removing other recipes from workspace on reset 2016-01-12 08:42:29 +00:00
upgrade.py devtool: upgrade: fetch remote repository before checking out new revision 2016-01-12 08:42:30 +00:00