]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lib/bblayers/setupwriters/oe-setup-layers.py: Fix indentation
authorJermain Horsman <jermain.horsman@nedap.com>
Wed, 8 Nov 2023 08:22:30 +0000 (09:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Nov 2023 16:56:32 +0000 (16:56 +0000)
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.horsman@nedap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bblayers/setupwriters/oe-setup-layers.py

index d5bc19a8cbd70d505900b8de3439f7ebb6ce6943..bd71ca1f51ca577fb0f05b1b7831730bd5969e71 100644 (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',