From e20d8b84b30c8c16a008666e7259a79bf99ab3d9 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Wed, 30 Sep 2015 05:38:35 +0000 Subject: [PATCH] scripts/lib/bsp/engine: Indent the karch properties when stored into a file Make a bit more human-friendly the karch properties when storing into a file. (From meta-yocto rev: 39292d397658a8e30c73d4cdaced66cb0efa8380) Signed-off-by: Leonardo Sandoval Signed-off-by: Richard Purdie --- 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 aac35d3b19..d0d5d726aa 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)