diff --git a/radicale/storage.py b/radicale/storage.py index 0cdab807..9f758b34 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -122,10 +122,13 @@ def check_and_sanitize_item(vobject_item, is_collection=False, uid=None, tag=None): """Check vobject items for common errors and add missing UIDs. - ``multiple`` indicates that the vobject_item contains unrelated components. + ``is_collection`` indicates that vobject_item contains unrelated + components. If ``uid`` is not set, the UID is generated randomly. + The ``tag`` of the collection. + """ if tag and tag not in ("VCALENDAR", "VADDRESSBOOK"): raise ValueError("Unsupported collection tag: %r" % tag)