[CalendarServer-changes] [4395] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 30 09:34:34 PDT 2009
Revision: 4395
http://trac.macosforge.org/projects/calendarserver/changeset/4395
Author: cdaboo at apple.com
Date: 2009-06-30 09:34:33 -0700 (Tue, 30 Jun 2009)
Log Message:
-----------
Auto-accept should remove RSVP=TRUE.
Modified Paths:
--------------
CalendarServer/trunk/run
CalendarServer/trunk/twistedcaldav/scheduling/processing.py
Modified: CalendarServer/trunk/run
===================================================================
--- CalendarServer/trunk/run 2009-06-30 16:33:24 UTC (rev 4394)
+++ CalendarServer/trunk/run 2009-06-30 16:34:33 UTC (rev 4395)
@@ -727,7 +727,7 @@
caldavtester="${top}/CalDAVTester";
-svn_get "CalDAVTester" "${caldavtester}" "${svn_uri_base}/CalDAVTester/trunk" 4388;
+svn_get "CalDAVTester" "${caldavtester}" "${svn_uri_base}/CalDAVTester/trunk" 4394;
#
# PyFlakes
Modified: CalendarServer/trunk/twistedcaldav/scheduling/processing.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/processing.py 2009-06-30 16:33:24 UTC (rev 4394)
+++ CalendarServer/trunk/twistedcaldav/scheduling/processing.py 2009-06-30 16:34:33 UTC (rev 4395)
@@ -659,6 +659,14 @@
if attendee.params().get("PARTSTAT", ("NEEDS-ACTION",))[0] != partstat:
attendee.params()["PARTSTAT"] = [partstat]
madeChanges = True
+
+ # Always remove RSVP - this is only an attendee change so madeChanges
+ # does not need to be changed
+ try:
+ del attendee.params()["RSVP"]
+ except KeyError:
+ pass
+
return madeChanges
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090630/a2ee962f/attachment.html>
More information about the calendarserver-changes
mailing list