[CalendarServer-changes] [6010] CalendarServer/branches/users/glyph/sql-store/twistedcaldav/sharing. py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 9 10:08:59 PDT 2010
Revision: 6010
http://trac.macosforge.org/projects/calendarserver/changeset/6010
Author: glyph at apple.com
Date: 2010-08-09 10:08:59 -0700 (Mon, 09 Aug 2010)
Log Message:
-----------
accept *or* decline
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sql-store/twistedcaldav/sharing.py
Modified: CalendarServer/branches/users/glyph/sql-store/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/twistedcaldav/sharing.py 2010-08-07 00:13:29 UTC (rev 6009)
+++ CalendarServer/branches/users/glyph/sql-store/twistedcaldav/sharing.py 2010-08-09 17:08:59 UTC (rev 6010)
@@ -936,8 +936,8 @@
class SharedHomeMixin(LinkFollowerMixIn):
"""
- A mix-in for calendar/addressbook homes that defines the operations for manipulating a sharee's
- set of shared calendars.
+ A mix-in for calendar/addressbook homes that defines the operations for
+ manipulating a sharee's set of shared calendars.
"""
def sharesDB(self):
@@ -1050,7 +1050,9 @@
@inlineCallbacks
def _changeShare(self, request, state, hostUrl, replytoUID, displayname=None):
- """ Accept an invite to a shared collection """
+ """
+ Accept or decline an invite to a shared collection.
+ """
# Change state in sharer invite
owner = (yield self.ownerPrincipal(request))
@@ -1071,7 +1073,6 @@
@inlineCallbacks
def sendReply(self, request, sharee, sharedCollection, state, hostUrl, replytoUID, displayname=None):
-
# Locate notifications collection for sharer
sharer = (yield sharedCollection.ownerPrincipal(request))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100809/41b2d637/attachment.html>
More information about the calendarserver-changes
mailing list