Remove duplicates in REPORT request

git-svn-id: http://svn.32rwr.info/radicale/trunk@7 74e4794c-479d-4a33-9dda-c6c359d70f12
This commit is contained in:
(no author) 2009-07-13 21:15:30 +00:00
parent 3593799f97
commit 34d1d30998

View File

@ -152,7 +152,7 @@ def report(xmlRequest, calendar, url):
if root.tag == _tag("C", "calendar-multiget"): if root.tag == _tag("C", "calendar-multiget"):
# Read rfc4791-7.9 for info # Read rfc4791-7.9 for info
hreferences = [hrefElement.text for hrefElement in root.findall(_tag("D", "href"))] hreferences = set([hrefElement.text for hrefElement in root.findall(_tag("D", "href"))])
else: else:
hreferences = [url] hreferences = [url]