[CalendarServer-changes] [4086] CalendarServer/trunk/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 24 21:30:39 PDT 2009
Revision: 4086
http://trac.macosforge.org/projects/calendarserver/changeset/4086
Author: cdaboo at apple.com
Date: 2009-04-24 21:30:39 -0700 (Fri, 24 Apr 2009)
Log Message:
-----------
EXDATE values must be list not tuple.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/ical.py
CalendarServer/trunk/twistedcaldav/scheduling/icaldiff.py
Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py 2009-04-25 04:21:04 UTC (rev 4085)
+++ CalendarServer/trunk/twistedcaldav/ical.py 2009-04-25 04:30:39 UTC (rev 4086)
@@ -1714,7 +1714,7 @@
if not removed_master and master_component is not None:
for exdate in exdates:
- master_component.addProperty(Property("EXDATE", (exdate,)))
+ master_component.addProperty(Property("EXDATE", [exdate,]))
def filterComponents(self, rids):
Modified: CalendarServer/trunk/twistedcaldav/scheduling/icaldiff.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/icaldiff.py 2009-04-25 04:21:04 UTC (rev 4085)
+++ CalendarServer/trunk/twistedcaldav/scheduling/icaldiff.py 2009-04-25 04:30:39 UTC (rev 4086)
@@ -305,7 +305,7 @@
overridden = self.newCalendar.overriddenComponent(rid)
self.newCalendar.removeComponent(overridden)
if self.newMaster:
- self.newMaster.addProperty(Property("EXDATE", (rid,)))
+ self.newMaster.addProperty(Property("EXDATE", [rid,]))
# Derive a new component in the new calendar for each new one in set2
for key in set2 - set1:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090424/83298eb6/attachment.html>
More information about the calendarserver-changes
mailing list