[CalendarServer-changes] [3124] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 6 16:15:56 PDT 2008


Revision: 3124
          http://trac.macosforge.org/projects/calendarserver/changeset/3124
Author:   sagen at apple.com
Date:     2008-10-06 16:15:56 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
Do caseless ATTENDEE comparison when processing IMIP replies

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

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2008-10-06 23:09:46 UTC (rev 3123)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2008-10-06 23:15:56 UTC (rev 3124)
@@ -1395,7 +1395,7 @@
         for component in self.subcomponents():
             if component.name() == "VTIMEZONE":
                 continue
-            [component.removeProperty(p) for p in tuple(component.properties("ATTENDEE")) if p.value() != attendee]
+            [component.removeProperty(p) for p in tuple(component.properties("ATTENDEE")) if p.value().lower() != attendee.lower()]
             
     def removeAlarms(self):
         """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081006/f9fda703/attachment.html 


More information about the calendarserver-changes mailing list