[TYPO][WIP]Radicale Odoo Storage : remove useless comment
This commit is contained in:
parent
3350d83d94
commit
0e7b2b9ae1
@ -136,19 +136,7 @@ class Collection(BaseCollection):
|
||||
|
||||
@classmethod
|
||||
def discover(cls, path, depth="0"):
|
||||
"""Discover a list of collections under the given ``path``.
|
||||
|
||||
``path`` is sanitized.
|
||||
|
||||
If ``depth`` is "0", only the actual object under ``path`` is
|
||||
returned.
|
||||
|
||||
If ``depth`` is anything but "0", it is considered as "1" and direct
|
||||
children are included in the result.
|
||||
|
||||
The root collection "/" must always exist.
|
||||
|
||||
"""
|
||||
"""Discover implementation """
|
||||
attributes = path.strip('/').split('/') or []
|
||||
if path and not cls.user:
|
||||
cls.user = attributes[0]
|
||||
|
Loading…
Reference in New Issue
Block a user