Remove Collection.has
It's the same as BaseCollection.has
This commit is contained in:
parent
de09f6689a
commit
5ccfe16372
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user