From: Leonardo Sandoval Date: Wed, 30 Sep 2015 05:38:35 +0000 (+0000) Subject: scripts/lib/bsp/engine: Indent the karch properties when stored into a file X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39292d397658a8e30c73d4cdaced66cb0efa8380;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Leonardo Sandoval Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index aac35d3b19f..d0d5d726aa7 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)