[CalendarServer-changes] [2852] CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/ scheduling/icaldiff.py
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 24 19:20:45 PDT 2008
Revision: 2852
http://trac.macosforge.org/projects/calendarserver/changeset/2852
Author: cdaboo at apple.com
Date: 2008-08-24 19:20:45 -0700 (Sun, 24 Aug 2008)
Log Message:
-----------
When checking attendee data make sure to strip all the props/params that the Organizer does not send.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/scheduling/icaldiff.py
Modified: CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/scheduling/icaldiff.py
===================================================================
--- CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/scheduling/icaldiff.py 2008-08-25 02:19:52 UTC (rev 2851)
+++ CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/scheduling/icaldiff.py 2008-08-25 02:20:45 UTC (rev 2852)
@@ -16,6 +16,7 @@
from twistedcaldav.ical import Component
from twistedcaldav.log import Logger
+from twistedcaldav.scheduling.itip import iTipGenerator
"""
Class that handles diff'ing two calendar objects.
@@ -68,13 +69,13 @@
# Do straight comparison without alarms
self.calendar1 = self.calendar1.duplicate()
- self.calendar1.removeAlarms()
self.calendar1.removeXProperties()
self.calendar1.attendeesView((attendee,))
+ iTipGenerator.prepareSchedulingMessage(self.calendar1)
self.calendar2 = self.calendar2.duplicate()
- self.calendar2.removeAlarms()
self.calendar2.removeXProperties()
+ iTipGenerator.prepareSchedulingMessage(self.calendar2)
if self.calendar1 == self.calendar2:
return True, True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080824/44e2672d/attachment.html
More information about the calendarserver-changes
mailing list