diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-12-08 23:31:07 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-12-09 09:00:02 +0200 |
commit | aead4ebd40c0ce23421c4924562a0d20ad7a82b3 (patch) | |
tree | e4b0a5424aee7ae69c840904da14d59f34c92ba1 | |
parent | 830cb9b306e4c5181d6fecc807484c8183ed9467 (diff) |
manage.py: sort keys when exporting manifest.json
More predictable output.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ def write_repo_data(outfile, **kwargs): #data = {'refs': refs, 'tags': tags, 'commits': commits} data = kwargs with open(outfile, 'w') as fobj: - json.dump(data, fobj, indent=4) + json.dump(data, fobj, indent=4, sort_keys=True) def split_git_author(author): |