From 74d84e0c91fce1140e6f3ea23e184046dc6dba59 Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 9 Jun 2016 23:52:05 +0200 Subject: [PATCH] Resolve naming conflict --- radicale/xmlutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index daaf8d7..d6449b2 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -549,10 +549,10 @@ def _propfind_response(path, item, props, user, write=False): if "vtimezone" in event.contents: for timezone_ in event.vtimezone_list: timezones.add(timezone_) - collection = vobject.iCalendar() + timezone_collection = vobject.iCalendar() for timezone_ in timezones: - collection.add(timezone_) - element.text = collection.serialize() + timezone_collection.add(timezone_) + element.text = timezone_collection.serialize() elif tag == _tag("D", "displayname"): element.text = item.get_meta("D:displayname") or item.path elif tag == _tag("ICAL", "calendar-color"):