[CalendarServer-changes] [2741] CalendarServer/branches/users/cdaboo/implicit-2660/twistedcaldav/ directory/principal.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 21 11:13:39 PDT 2008
Revision: 2741
http://trac.macosforge.org/projects/calendarserver/changeset/2741
Author: cdaboo at apple.com
Date: 2008-07-21 11:13:39 -0700 (Mon, 21 Jul 2008)
Log Message:
-----------
Directly retrieving a user's calendar-home is a useful feature to have. Make this method public.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/implicit-2660/twistedcaldav/directory/principal.py
Modified: CalendarServer/branches/users/cdaboo/implicit-2660/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/cdaboo/implicit-2660/twistedcaldav/directory/principal.py 2008-07-21 16:37:06 UTC (rev 2740)
+++ CalendarServer/branches/users/cdaboo/implicit-2660/twistedcaldav/directory/principal.py 2008-07-21 18:13:39 UTC (rev 2741)
@@ -639,7 +639,7 @@
return self.record.hasEditableProxyMembership()
def scheduleInbox(self, request):
- home = self._calendarHome()
+ home = self.calendarHome()
if home is None:
return succeed(None)
@@ -650,7 +650,7 @@
return succeed(inbox)
def calendarHomeURLs(self):
- home = self._calendarHome()
+ home = self.calendarHome()
if home is None:
return ()
else:
@@ -669,13 +669,13 @@
return None
def _homeChildURL(self, name):
- home = self._calendarHome()
+ home = self.calendarHome()
if home is None:
return None
else:
return joinURL(home.url(), name)
- def _calendarHome(self):
+ def calendarHome(self):
# FIXME: self.record.service.calendarHomesCollection smells like a hack
# See CalendarHomeProvisioningFile.__init__()
service = self.record.service
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080721/eda7a81c/attachment.html
More information about the calendarserver-changes
mailing list