[CalendarServer-changes] [6119] CalendarServer/trunk/twistedcaldav/sharing.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 18 15:44:28 PDT 2010
Revision: 6119
http://trac.macosforge.org/projects/calendarserver/changeset/6119
Author: glyph at apple.com
Date: 2010-08-18 15:44:27 -0700 (Wed, 18 Aug 2010)
Log Message:
-----------
remove dead code, docstring must come first
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/sharing.py
Modified: CalendarServer/trunk/twistedcaldav/sharing.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/sharing.py 2010-08-18 22:08:39 UTC (rev 6118)
+++ CalendarServer/trunk/twistedcaldav/sharing.py 2010-08-18 22:44:27 UTC (rev 6119)
@@ -15,6 +15,11 @@
# limitations under the License.
##
+"""
+Sharing behavior
+"""
+
+
__all__ = [
"SharedCollectionMixin",
]
@@ -43,21 +48,11 @@
import os
import types
-"""
-Sharing behavior
-"""
-
# Types of sharing mode
SHARETYPE_INVITE = "I" # Invite based sharing
SHARETYPE_DIRECT = "D" # Direct linking based sharing
class SharedCollectionMixin(object):
-
- def invitesDB(self):
-
- if not hasattr(self, "_invitesDB"):
- self._invitesDB = InvitesDatabase(self)
- return self._invitesDB
def inviteProperty(self, request):
"""
@@ -946,11 +941,6 @@
manipulating a sharee's set of shared calendars.
"""
- def sharesDB(self):
-
- if not hasattr(self, "_sharesDB"):
- self._sharesDB = SharedCollectionsDatabase(self)
- return self._sharesDB
def provisionShare(self, name):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100818/a5cec55d/attachment-0001.html>
More information about the calendarserver-changes
mailing list