Atomic replacement of whole collection by PUT

This commit is contained in:
Unrud 2016-08-08 06:08:52 +02:00
parent 0675328a02
commit 68286faa63

View File

@ -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: