[CalendarServer-changes] [3548] CalendarServer/trunk/twistedcaldav/extensions.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 18 18:01:02 PST 2008


Revision: 3548
          http://trac.macosforge.org/projects/calendarserver/changeset/3548
Author:   sagen at apple.com
Date:     2008-12-18 18:01:01 -0800 (Thu, 18 Dec 2008)
Log Message:
-----------
Use "equals" instead of "exact" in the principal-property-search match-type

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/extensions.py

Modified: CalendarServer/trunk/twistedcaldav/extensions.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/extensions.py	2008-12-19 01:54:17 UTC (rev 3547)
+++ CalendarServer/trunk/twistedcaldav/extensions.py	2008-12-19 02:01:01 UTC (rev 3548)
@@ -270,7 +270,7 @@
                     raise HTTPError(StatusResponse(responsecode.BAD_REQUEST, msg))
                 caseless = (caseless == "yes")
                 matchType = match.attributes.get("match-type", "contains")
-                if matchType not in ("starts-with", "contains", "exact"):
+                if matchType not in ("starts-with", "contains", "equals"):
                     msg = "Bad XML: unknown value for match-type attribute: %s" % (matchType,)
                     log.warn(msg)
                     raise HTTPError(StatusResponse(responsecode.BAD_REQUEST, msg))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081218/247d7deb/attachment-0001.html>


More information about the calendarserver-changes mailing list