Remove empty collection in propfind resourcetype (Sunbird-1.0b2 ready).
This commit is contained in:
parent
97c1675741
commit
330283ef94
@ -96,7 +96,6 @@ def propfind(xml_request, calendar, url):
|
|||||||
|
|
||||||
if _tag("D", "resourcetype") in properties:
|
if _tag("D", "resourcetype") in properties:
|
||||||
resourcetype = ET.Element(_tag("D", "resourcetype"))
|
resourcetype = ET.Element(_tag("D", "resourcetype"))
|
||||||
resourcetype.append(ET.Element(_tag("D", "collection")))
|
|
||||||
resourcetype.append(ET.Element(_tag("C", "calendar")))
|
resourcetype.append(ET.Element(_tag("C", "calendar")))
|
||||||
prop.append(resourcetype)
|
prop.append(resourcetype)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user