Sort keys of properties JSON file
This commit is contained in:
parent
71916452ec
commit
33ad60503f
@ -1328,7 +1328,7 @@ class Collection(BaseCollection):
|
|||||||
|
|
||||||
def set_meta_all(self, props):
|
def set_meta_all(self, props):
|
||||||
with self._atomic_write(self._props_path, "w") as f:
|
with self._atomic_write(self._props_path, "w") as f:
|
||||||
json.dump(props, f)
|
json.dump(props, f, sort_keys=True)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def last_modified(self):
|
def last_modified(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user