Add simple support for calendar-user-address-set (references #181)
This commit is contained in:
parent
04938243a8
commit
9874129bbb
@ -140,11 +140,10 @@ def propfind(path, xml_request, calendar, depth):
|
|||||||
tag = ET.Element(_tag("D", "href"))
|
tag = ET.Element(_tag("D", "href"))
|
||||||
tag.text = path
|
tag.text = path
|
||||||
element.append(tag)
|
element.append(tag)
|
||||||
elif tag == _tag("D", "principal-collection-set"):
|
elif tag in (
|
||||||
tag = ET.Element(_tag("D", "href"))
|
_tag("D", "principal-collection-set"),
|
||||||
tag.text = path
|
_tag("C", "calendar-user-address-set"),
|
||||||
element.append(tag)
|
_tag("C", "calendar-home-set")):
|
||||||
elif tag == _tag("C", "calendar-home-set"):
|
|
||||||
tag = ET.Element(_tag("D", "href"))
|
tag = ET.Element(_tag("D", "href"))
|
||||||
tag.text = path
|
tag.text = path
|
||||||
element.append(tag)
|
element.append(tag)
|
||||||
|
Loading…
Reference in New Issue
Block a user