From: Jermain Horsman <jermain.hors...@nedap.com>

The writer always printed the script was written even if this
was not the case when specififying '--json-only'.

Signed-off-by: Jermain Horsman <jermain.hors...@nedap.com>
---
 meta/lib/bblayers/setupwriters/oe-setup-layers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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():
         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',
-- 
2.42.0.windows.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190306): 
https://lists.openembedded.org/g/openembedded-core/message/190306
Mute This Topic: https://lists.openembedded.org/mt/102460206/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to