aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 23:31:07 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-09 09:00:02 +0200
commitaead4ebd40c0ce23421c4924562a0d20ad7a82b3 (patch)
treee4b0a5424aee7ae69c840904da14d59f34c92ba1
parent830cb9b306e4c5181d6fecc807484c8183ed9467 (diff)
manage.py: sort keys when exporting manifest.json
More predictable output. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xmanage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index 9f0b467..df8286f 100755
--- a/manage.py
+++ b/manage.py
@@ -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):