From: Leonardo Sandoval <[email protected]>

Make a bit more human-friendly the karch properties when storing
into a file.

Signed-off-by: Leonardo Sandoval <[email protected]>
---
 scripts/lib/bsp/engine.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
index aac35d3..d0d5d72 100644
--- a/scripts/lib/bsp/engine.py
+++ b/scripts/lib/bsp/engine.py
@@ -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)
 
-- 
1.8.4.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to