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:
parent
60278094cc
commit
5648a7909f
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue