Remove print stmts.

This commit is contained in:
redxef 2022-12-06 18:57:04 +01:00
parent 42103dfbf6
commit 1213e469f6
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -401,7 +401,6 @@ class Storage(BaseStorage):
return path_parts return path_parts
def _discover(self, path: str, *, connection, depth: str = "0") -> Iterable["radicale.types.CollectionOrItem"]: def _discover(self, path: str, *, connection, depth: str = "0") -> Iterable["radicale.types.CollectionOrItem"]:
logger.info("path = %s, depth = %s", path, depth)
if path == '/': if path == '/':
return [Collection(self, self._root_collection.id, '')] return [Collection(self, self._root_collection.id, '')]
path_parts = self._split_path(path) path_parts = self._split_path(path)
@ -525,8 +524,6 @@ class Storage(BaseStorage):
items: Optional[Iterable["radicale_item.Item"]]=None, items: Optional[Iterable["radicale_item.Item"]]=None,
props: Optional[Mapping[str, str]]=None, props: Optional[Mapping[str, str]]=None,
) -> "BaseCollection": ) -> "BaseCollection":
print('creating collection')
print(f'href={href}, items={items}, props={props}')
path = self._split_path(href) path = self._split_path(href)
parent_id = self._root_collection.id parent_id = self._root_collection.id
collection_table = self._meta.tables['collection'] collection_table = self._meta.tables['collection']