diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2015-09-30 05:38:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:39 +0100 |
commit | e20d8b84b30c8c16a008666e7259a79bf99ab3d9 (patch) | |
tree | 6a0649854c3c8b78ad15268d4904aee5eb8642cc /scripts | |
parent | f2933cc5f9f3287daa206cf166f7f67881327be3 (diff) | |
download | poky-e20d8b84b30c8c16a008666e7259a79bf99ab3d9.tar.gz |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/bsp/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
1684 | print "Couldn't open properties file %s for writing, exiting" % properties_file | 1684 | print "Couldn't open properties file %s for writing, exiting" % properties_file |
1685 | sys.exit(1) | 1685 | sys.exit(1) |
1686 | 1686 | ||
1687 | json.dump(properties, of) | 1687 | json.dump(properties, of, indent=1) |
1688 | else: | 1688 | else: |
1689 | print_dict(properties) | 1689 | print_dict(properties) |
1690 | 1690 | ||