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>
This commit is contained in:
Markus Lehtonen 2015-05-27 17:40:49 +03:00 committed by Richard Purdie
parent 60278094cc
commit 5648a7909f
2 changed files with 1 additions and 4 deletions

View File

@ -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')

View File

@ -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