[CalendarServer-changes] [2830] CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/ scheduling/icaldiff.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 18 12:51:37 PDT 2008
Revision: 2830
http://trac.macosforge.org/projects/calendarserver/changeset/2830
Author: cdaboo at apple.com
Date: 2008-08-18 12:51:37 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
Make attendee diff more resilient of dumb clients.
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-18 19:49:34 UTC (rev 2829)
+++ CalendarServer/branches/users/cdaboo/implicit-2805/twistedcaldav/scheduling/icaldiff.py 2008-08-18 19:51:37 UTC (rev 2830)
@@ -152,7 +152,6 @@
result = set1 - set2
if result:
log.debug("Missing components from first calendar: %s" % (result,))
- if result:
return False, False
# Now verify that each component in set1 matches what is in set2
@@ -192,7 +191,13 @@
propdiff = set(comp1.properties()) ^ set(comp2.properties())
for prop in tuple(propdiff):
# These ones are OK to change
- if prop.name() in ("TRANSP", "DTSTAMP", "CREATED", "LAST-MODIFIED",):
+ if prop.name() in (
+ "TRANSP",
+ "DTSTAMP",
+ "CREATED",
+ "LAST-MODIFIED",
+ "SEQUENCE",
+ ):
propdiff.remove(prop)
continue
if prop.name() != "ATTENDEE" or prop.value() != self.attendee:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080818/40aa2113/attachment-0001.html
More information about the calendarserver-changes
mailing list