소스 검색

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: