mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Remove fixed TODOs
This commit is contained in:
parent
8682504c6e
commit
50438bc2c0
1 changed files with 0 additions and 5 deletions
|
@ -551,7 +551,6 @@ class Collection(BaseCollection):
|
|||
return self.get(href) is not None
|
||||
|
||||
def upload(self, href, vobject_item):
|
||||
# TODO: use returned object in code
|
||||
if not is_safe_filesystem_path_component(href):
|
||||
raise UnsafePathError(href)
|
||||
path = path_to_filesystem(self._filesystem_path, href)
|
||||
|
@ -563,8 +562,6 @@ class Collection(BaseCollection):
|
|||
return item
|
||||
|
||||
def update(self, href, vobject_item, etag=None):
|
||||
# TODO: use etag in code and test it here
|
||||
# TODO: use returned object in code
|
||||
if not is_safe_filesystem_path_component(href):
|
||||
raise UnsafePathError(href)
|
||||
path = path_to_filesystem(self._filesystem_path, href)
|
||||
|
@ -580,8 +577,6 @@ class Collection(BaseCollection):
|
|||
return item
|
||||
|
||||
def delete(self, href=None, etag=None):
|
||||
# TODO: use etag in code and test it here
|
||||
# TODO: use returned object in code
|
||||
if href is None:
|
||||
# Delete the collection
|
||||
if os.path.isdir(self._filesystem_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue