From 34d1d309981d9e72f18b0085b77e812ac218f646 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@74e4794c-479d-4a33-9dda-c6c359d70f12> Date: Mon, 13 Jul 2009 21:15:30 +0000 Subject: [PATCH] Remove duplicates in REPORT request git-svn-id: http://svn.32rwr.info/radicale/trunk@7 74e4794c-479d-4a33-9dda-c6c359d70f12 --- radicale/xmlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 557705c..dc5d5f8 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -152,7 +152,7 @@ def report(xmlRequest, calendar, url): if root.tag == _tag("C", "calendar-multiget"): # 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: hreferences = [url]