[CalendarServer-changes] [11602] CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/ twistedcaldav/sharing.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 13 09:14:22 PDT 2013
Revision: 11602
http://trac.calendarserver.org//changeset/11602
Author: cdaboo at apple.com
Date: 2013-08-13 09:14:22 -0700 (Tue, 13 Aug 2013)
Log Message:
-----------
Handle potential flaky directory.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py
Modified: CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py 2013-08-13 03:24:46 UTC (rev 11601)
+++ CalendarServer/branches/users/cdaboo/CalendarServer-5.0-podfix/twistedcaldav/sharing.py 2013-08-13 16:14:22 UTC (rev 11602)
@@ -496,10 +496,11 @@
"""
#assert request
invitations = yield self._allInvitations()
- for invitation in invitations:
- if invitation.status() != _BIND_STATUS_INVALID:
- if not (yield self.validUserIDForShare("urn:uuid:" + invitation.shareeUID(), request)):
- yield self._updateInvitation(invitation, status=_BIND_STATUS_INVALID)
+ # FIXME: temporarily disable this to deal with flaky directory
+ #for invitation in invitations:
+ # if invitation.status() != _BIND_STATUS_INVALID:
+ # if not (yield self.validUserIDForShare("urn:uuid:" + invitation.shareeUID(), request)):
+ # yield self._updateInvitation(invitation, status=_BIND_STATUS_INVALID)
returnValue(invitations)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130813/710a63ed/attachment.html>
More information about the calendarserver-changes
mailing list