[CalendarServer-changes] [7385] CalendarServer/trunk/twistedcaldav/scheduling/implicit.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 29 11:00:50 PDT 2011
Revision: 7385
http://trac.macosforge.org/projects/calendarserver/changeset/7385
Author: cdaboo at apple.com
Date: 2011-04-29 11:00:50 -0700 (Fri, 29 Apr 2011)
Log Message:
-----------
Fix incorrect use of inlineCallbacks.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/scheduling/implicit.py
Modified: CalendarServer/trunk/twistedcaldav/scheduling/implicit.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/implicit.py 2011-04-29 17:56:32 UTC (rev 7384)
+++ CalendarServer/trunk/twistedcaldav/scheduling/implicit.py 2011-04-29 18:00:50 UTC (rev 7385)
@@ -232,7 +232,7 @@
elif self.state == "attendee":
yield self.doImplicitAttendee()
elif self.state == "attendee-missing":
- yield self.doImplicitMissingAttendee()
+ self.doImplicitMissingAttendee()
else:
returnValue(None)
@@ -893,13 +893,11 @@
log.debug("Implicit - attendee '%s' is updating UID without server scheduling: '%s'" % (self.attendee, self.uid))
# Nothing else to do
- @inlineCallbacks
def doImplicitMissingAttendee(self):
if self.action == "remove":
# Nothing else to do
log.debug("Implicit - missing attendee is removing UID without server scheduling: '%s'" % (self.uid,))
- returnValue(None)
else:
# We will allow the attendee to do anything in this case, but we will mark the organizer
@@ -910,7 +908,6 @@
if self.calendar.getOrganizerScheduleAgent():
self.calendar.setParameterToValueForPropertyWithValue("SCHEDULE-AGENT", "NONE", "ORGANIZER", None)
self.calendar.setParameterToValueForPropertyWithValue("SCHEDULE-STATUS", iTIPRequestStatus.NO_USER_SUPPORT_CODE, "ORGANIZER", None)
- returnValue(None)
def checkOrganizerScheduleAgent(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110429/1ee8c56b/attachment.html>
More information about the calendarserver-changes
mailing list