]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
scripts/lib/bsp/engine: Indent the karch properties when stored into a file
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Wed, 30 Sep 2015 05:38:35 +0000 (05:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2015 14:15:18 +0000 (15:15 +0100)
Make a bit more human-friendly the karch properties when storing
into a file.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/engine.py

index aac35d3b19fd908f7a2d322e6d5e5f2d78098302..d0d5d726aa7c50b741bbe5b38bd799f969d6ed7b 100644 (file)
@@ -1684,7 +1684,7 @@ def yocto_layer_list_properties(arch, scripts_path, properties_file, expand_comm
             print "Couldn't open properties file %s for writing, exiting" % properties_file
             sys.exit(1)
 
-        json.dump(properties, of)
+        json.dump(properties, of, indent=1)
     else:
         print_dict(properties)