From 68286faa63c8acf34800a03e97bb9eaeaa2529a5 Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 8 Aug 2016 06:08:52 +0200 Subject: [PATCH] Atomic replacement of whole collection by PUT --- radicale/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index f826281..f27a172 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -574,9 +574,6 @@ class Application: tag = tags.get(content_type) if write_whole_collection: - if item: - # Delete old collection - item.delete() new_item = self.Collection.create_collection( path, items, {"tag": tag}) else: