From def34b14543af00e256074017bf96bda3b59f6b4 Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 15 Sep 2016 11:18:55 +0200 Subject: [PATCH] Fix BaseCollection.move The update method doesn't exist. --- radicale/storage.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index d102e6e..4aae415 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -254,10 +254,7 @@ class BaseCollection: """ if item.collection.path == to_collection.path and item.href == to_href: return - if to_collection.has(to_href): - to_collection.update(to_href, item.item) - else: - to_collection.upload(to_href, item.item) + to_collection.upload(to_href, item.item) item.collection.delete(item.href) @property