Add depth support to CalendarMultiget

pull/12/head
Jean Raby 2013-08-02 15:41:24 -04:00
parent 7eb8b9c2c3
commit 6de689bbe2
1 changed files with 2 additions and 2 deletions

View File

@ -379,8 +379,8 @@ class CalDAVPOST(WebDAVQuery):
return self.content
class CalDAVCalendarMultiget(WebDAVREPORT):
def __init__(self, url, properties, hrefs):
WebDAVQuery.__init__(self, url)
def __init__(self, url, properties, hrefs, depth = None):
WebDAVQuery.__init__(self, url, depth)
multiget_tag = self.ns_mgr.register("calendar-multiget", xmlns_caldav)
self.top_node = _WD_XMLTreeElement(multiget_tag)
if properties is not None and len(properties) > 0: