Explorar o código

Remove empty collection in propfind resourcetype (Sunbird-1.0b2 ready).

Guillaume Ayoub %!s(int64=16) %!d(string=hai) anos
pai
achega
330283ef94
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      radicale/xmlutils.py

+ 0 - 1
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)