mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
More type hints
This commit is contained in:
parent
12fe5ce637
commit
cecb17df03
51 changed files with 1374 additions and 957 deletions
|
@ -67,8 +67,8 @@ class StorageVerifyMixin:
|
|||
item.href, sane_path)
|
||||
if item_errors == saved_item_errors:
|
||||
collection.sync()
|
||||
if has_child_collections and collection.get_meta("tag"):
|
||||
if has_child_collections and collection.tag:
|
||||
logger.error("Invalid collection %r: %r must not have "
|
||||
"child collections", sane_path,
|
||||
collection.get_meta("tag"))
|
||||
collection.tag)
|
||||
return item_errors == 0 and collection_errors == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue