Sort keys of properties JSON file

This commit is contained in:
Unrud 2017-07-22 21:35:05 +02:00 committed by Unrud
parent 71916452ec
commit 33ad60503f

View File

@ -1328,7 +1328,7 @@ class Collection(BaseCollection):
def set_meta_all(self, props):
with self._atomic_write(self._props_path, "w") as f:
json.dump(props, f)
json.dump(props, f, sort_keys=True)
@property
def last_modified(self):