Forráskód Böngészése

Atomic replacement of whole collection by PUT

Unrud 9 éve
szülő
commit
68286faa63
1 módosított fájl, 0 hozzáadás és 3 törlés
  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: