浏览代码

Atomic replacement of whole collection by PUT

Unrud 9 年之前
父节点
当前提交
68286faa63
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      radicale/__init__.py

+ 0 - 3
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: