diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-05-27 17:40:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-18 09:14:05 +0100 |
commit | 5648a7909f4f185d0ead1299b0bdc484ff1bb700 (patch) | |
tree | c1ee39323f7b5efe6b7ac5eeb4c0c31d3d30f0fc /scripts | |
parent | 60278094cc2c917b2ae1ee45b932ec6ba35d246b (diff) | |
download | poky-5648a7909f4f185d0ead1299b0bdc484ff1bb700.tar.gz |
devtool: remove some unused return values
(From OE-Core rev: 30fd41bd06a61e9df47263d49119fb8e193cdf68)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/devtool | 2 | ||||
-rw-r--r-- | scripts/lib/devtool/standard.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/scripts/devtool b/scripts/devtool index 0100eb8360..fd4af9838a 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -157,7 +157,7 @@ def _enable_workspace_layer(workspacedir, config, basepath): | |||
157 | bblayers_conf = os.path.join(basepath, 'conf', 'bblayers.conf') | 157 | bblayers_conf = os.path.join(basepath, 'conf', 'bblayers.conf') |
158 | if not os.path.exists(bblayers_conf): | 158 | if not os.path.exists(bblayers_conf): |
159 | logger.error('Unable to find bblayers.conf') | 159 | logger.error('Unable to find bblayers.conf') |
160 | return -1 | 160 | return |
161 | _, added = bb.utils.edit_bblayers_conf(bblayers_conf, workspacedir, config.workspace_path) | 161 | _, added = bb.utils.edit_bblayers_conf(bblayers_conf, workspacedir, config.workspace_path) |
162 | if added: | 162 | if added: |
163 | logger.info('Enabling workspace layer in bblayers.conf') | 163 | logger.info('Enabling workspace layer in bblayers.conf') |
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index fb3cc78de0..14912a9454 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -417,9 +417,6 @@ def _check_preserve(config, recipename): | |||
417 | tf.write(line) | 417 | tf.write(line) |
418 | os.rename(newfile, origfile) | 418 | os.rename(newfile, origfile) |
419 | 419 | ||
420 | return False | ||
421 | |||
422 | |||
423 | def modify(args, config, basepath, workspace): | 420 | def modify(args, config, basepath, workspace): |
424 | """Entry point for the devtool 'modify' subcommand""" | 421 | """Entry point for the devtool 'modify' subcommand""" |
425 | import bb | 422 | import bb |