Monotone-Parent: a8ca9bda3722c5b1cef6119bd959875e067508b1

Monotone-Revision: bc2e0b73706c7db4bb3e9fe93a30a9000e7861df

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-04-23T21:49:20
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-04-23 21:49:20 +00:00
parent d19d11c99f
commit 857635150f
1 changed files with 7 additions and 7 deletions

View File

@ -284,16 +284,16 @@ class WebDAVPrincipalPropertySearch(WebDAVREPORT):
self._initProperties(properties)
def _initMatches(self, matches):
psearch = _WD_XMLTreeElement("property-search")
self.top_node.append(psearch)
for matchKey in matches.keys():
for match in matches:
psearch = _WD_XMLTreeElement("property-search")
self.top_node.append(psearch)
prop = _WD_XMLTreeElement("prop")
psearch.append(prop)
match_tag = self.render_tag(matchKey)
match_tag = self.render_tag(match[0])
prop.append(_WD_XMLTreeElement(match_tag))
match = _WD_XMLTreeElement("match")
psearch.append(match)
match.appendSubtree(self, matches[matchKey])
match_tag = _WD_XMLTreeElement("match")
psearch.append(match_tag)
match_tag.appendSubtree(self, match[1])
class WebDAVSyncQuery(WebDAVREPORT):
def __init__(self, url, token, properties):