Browse Source

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

Guillaume Ayoub 16 năm trước cách đây
mục cha
commit
330283ef94
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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)