mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
lib/bblayers/setupwriters/oe-setup-layers.py: Fix indentation
The writer always printed the script was written even if this was not the case when specififying '--json-only'. (From OE-Core rev: b2efb4c6c8bd938aac5146e14bd0c38f3f632bc4) Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fdec269d0a
commit
61e7c1d99c
@@ -45,7 +45,7 @@ class OeSetupLayersWriter():
|
||||
logger.info('Created {}.json'.format(output))
|
||||
if not args.json_only:
|
||||
self._write_python(os.path.join(os.path.dirname(__file__),'../../../../scripts/oe-setup-layers'), output)
|
||||
logger.info('Created {}'.format(output))
|
||||
logger.info('Created {}'.format(output))
|
||||
|
||||
def register_arguments(self, parser):
|
||||
parser.add_argument('--json-only', action='store_true',
|
||||
|
||||
Reference in New Issue
Block a user