summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-05-27 17:40:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-18 09:12:00 +0100
commit30fd41bd06a61e9df47263d49119fb8e193cdf68 (patch)
treeb21accaa7ea9f43cf8ad972744ff112daeb4c083 /scripts
parentcdcfedec5489a5d8d0df56bbe100e5fc2cca03af (diff)
downloadopenembedded-core-30fd41bd06a61e9df47263d49119fb8e193cdf68.tar.gz
openembedded-core-30fd41bd06a61e9df47263d49119fb8e193cdf68.tar.bz2
openembedded-core-30fd41bd06a61e9df47263d49119fb8e193cdf68.zip
devtool: remove some unused return values
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/devtool2
-rw-r--r--scripts/lib/devtool/standard.py3
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):
bblayers_conf = os.path.join(basepath, 'conf', 'bblayers.conf')
if not os.path.exists(bblayers_conf):
logger.error('Unable to find bblayers.conf')
- return -1
+ return
_, added = bb.utils.edit_bblayers_conf(bblayers_conf, workspacedir, config.workspace_path)
if added:
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):
tf.write(line)
os.rename(newfile, origfile)
- return False
-
-
def modify(args, config, basepath, workspace):
"""Entry point for the devtool 'modify' subcommand"""
import bb