From 330283ef94b323c95b70ae5d93cfcf9e0a4a58e7 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Tue, 29 Dec 2009 20:15:31 +0100 Subject: [PATCH] Remove empty collection in propfind resourcetype (Sunbird-1.0b2 ready). --- radicale/xmlutils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 8e265ff..bbf6380 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -96,7 +96,6 @@ def propfind(xml_request, calendar, url): if _tag("D", "resourcetype") in properties: resourcetype = ET.Element(_tag("D", "resourcetype")) - resourcetype.append(ET.Element(_tag("D", "collection"))) resourcetype.append(ET.Element(_tag("C", "calendar"))) prop.append(resourcetype)