diff options
author | Jermain Horsman <jermain.horsman@nedap.com> | 2023-11-08 09:22:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-09 16:57:26 +0000 |
commit | 61e7c1d99c2d11abf12a33f443b7949ff8bac735 (patch) | |
tree | 9bc343ea7e875a0d4abf0b399b04264e81f9dbdd /meta/lib/bblayers | |
parent | fdec269d0a5071952677407ffe7c0b55752abeb9 (diff) | |
download | poky-61e7c1d99c2d11abf12a33f443b7949ff8bac735.tar.gz |
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>
Diffstat (limited to 'meta/lib/bblayers')
-rw-r--r-- | meta/lib/bblayers/setupwriters/oe-setup-layers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/bblayers/setupwriters/oe-setup-layers.py b/meta/lib/bblayers/setupwriters/oe-setup-layers.py index d5bc19a8cb..bd71ca1f51 100644 --- a/meta/lib/bblayers/setupwriters/oe-setup-layers.py +++ b/meta/lib/bblayers/setupwriters/oe-setup-layers.py | |||
@@ -45,7 +45,7 @@ class OeSetupLayersWriter(): | |||
45 | logger.info('Created {}.json'.format(output)) | 45 | logger.info('Created {}.json'.format(output)) |
46 | if not args.json_only: | 46 | if not args.json_only: |
47 | self._write_python(os.path.join(os.path.dirname(__file__),'../../../../scripts/oe-setup-layers'), output) | 47 | self._write_python(os.path.join(os.path.dirname(__file__),'../../../../scripts/oe-setup-layers'), output) |
48 | logger.info('Created {}'.format(output)) | 48 | logger.info('Created {}'.format(output)) |
49 | 49 | ||
50 | def register_arguments(self, parser): | 50 | def register_arguments(self, parser): |
51 | parser.add_argument('--json-only', action='store_true', | 51 | parser.add_argument('--json-only', action='store_true', |