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 <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Leonardo Sandoval 2015-09-30 05:38:35 +00:00 committed by Richard Purdie
parent f2933cc5f9
commit e20d8b84b3
1 changed files with 1 additions and 1 deletions

View 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)