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:
Jermain Horsman
2023-11-08 09:22:30 +01:00
committed by Richard Purdie
parent fdec269d0a
commit 61e7c1d99c

View File

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