Make the diffs absolute and sort them.

This commit is contained in:
yackob03 2013-10-18 17:05:51 -04:00
parent 3d0b165de9
commit 63ffa52245
71 changed files with 433680 additions and 433679 deletions

View file

@ -357,6 +357,7 @@ def process_image_changes(namespace, repository, image_id):
sections = ('added', 'changed', 'removed')
for section, source_trie in zip(sections, new_metadata[1:]):
diffs[section] = list(source_trie)
diffs[section].sort()
store.put_content(image_diffs_path, json.dumps(diffs, indent=2))
return new_trie_path