Bläddra i källkod

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

Guillaume Ayoub 16 år sedan
förälder
incheckning
330283ef94
1 ändrade filer med 0 tillägg och 1 borttagningar
  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)