diff options
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
-rw-r--r-- | scripts/lib/devtool/sdk.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 7a842afc24..84b9f32a57 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py | |||
@@ -85,13 +85,9 @@ def install_sstate_objects(sstate_objects, src_sdk, dest_sdk): | |||
85 | 85 | ||
86 | def sdk_update(args, config, basepath, workspace): | 86 | def sdk_update(args, config, basepath, workspace): |
87 | # Fetch locked-sigs.inc file from remote/local destination | 87 | # Fetch locked-sigs.inc file from remote/local destination |
88 | from ConfigParser import NoSectionError | ||
89 | updateserver = args.updateserver | 88 | updateserver = args.updateserver |
90 | if not updateserver: | 89 | if not updateserver: |
91 | try: | 90 | updateserver = config.get('SDK', 'updateserver', '') |
92 | updateserver = config.get('SDK', 'updateserver', None) | ||
93 | except NoSectionError: | ||
94 | pass | ||
95 | if not updateserver: | 91 | if not updateserver: |
96 | raise DevtoolError("Update server not specified in config file, you must specify it on the command line") | 92 | raise DevtoolError("Update server not specified in config file, you must specify it on the command line") |
97 | logger.debug("updateserver: %s" % args.updateserver) | 93 | logger.debug("updateserver: %s" % args.updateserver) |