From 33ad60503f19f57035d4410c9aeb95b850632b85 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 22 Jul 2017 21:35:05 +0200 Subject: [PATCH] Sort keys of properties JSON file --- radicale/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/storage.py b/radicale/storage.py index 174e362a..7265a0c2 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -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):