From 5ccfe16372a3eea7b182963a57ebd5be1d58a6e7 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 4 Sep 2016 13:21:57 +0200 Subject: [PATCH] Remove Collection.has It's the same as BaseCollection.has --- radicale/storage.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index f8f75d3..8401561 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -633,9 +633,6 @@ class Collection(BaseCollection): time.gmtime(os.path.getmtime(path))) return Item(self, vobject.readOne(text), href, last_modified) - def has(self, href): - return self.get(href) is not None - def upload(self, href, vobject_item): if not is_safe_filesystem_path_component(href): raise UnsafePathError(href)