From ae4c8a0bd1d4e3a0f14d887c3c545c3e2e32d3c1 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sun, 29 Apr 2018 21:38:40 +0200 Subject: [PATCH] Improve doc string --- radicale/storage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)