From 1dcc78ea3607ba136c5cdf37d68a58d01167a14f Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 6 Dec 2017 21:46:20 +0100 Subject: [PATCH] Improve description --- radicale/xmlutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index fd9a0d48..ef3a6775 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -647,7 +647,7 @@ def get_content_type(item): def find_tag(vobject_item): - """Find tag from ``vobject_item``.""" + """Find component name from ``vobject_item``.""" if vobject_item.name == "VCALENDAR": for component in vobject_item.components(): if component.name != "VTIMEZONE": @@ -656,7 +656,7 @@ def find_tag(vobject_item): def find_tag_and_time_range(vobject_item): - """Find tag and enclosing time range from ``vobject item``. + """Find component name and enclosing time range from ``vobject item``. Returns a tuple (``tag``, ``start``, ``end``) where ``tag`` is a string and ``start`` and ``end`` are POSIX timestamps (as int).