Ver código fonte

Atomic replacement of whole collection by PUT

Unrud 9 anos atrás
pai
commit
68286faa63
1 arquivos alterados com 0 adições e 3 exclusões
  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: