[CalendarServer-changes] [5328] CalendarServer/branches/users/cdaboo/shared-calendars-5187/ twistedcaldav/sharedcalendar.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 16 18:43:19 PDT 2010


Revision: 5328
          http://trac.macosforge.org/projects/calendarserver/changeset/5328
Author:   cdaboo at apple.com
Date:     2010-03-16 18:43:19 -0700 (Tue, 16 Mar 2010)
Log Message:
-----------
Need to proxy property methods to the shared calendar to handle Depth:1 requests.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/shared-calendars-5187/twistedcaldav/sharedcalendar.py

Modified: CalendarServer/branches/users/cdaboo/shared-calendars-5187/twistedcaldav/sharedcalendar.py
===================================================================
--- CalendarServer/branches/users/cdaboo/shared-calendars-5187/twistedcaldav/sharedcalendar.py	2010-03-17 01:42:30 UTC (rev 5327)
+++ CalendarServer/branches/users/cdaboo/shared-calendars-5187/twistedcaldav/sharedcalendar.py	2010-03-17 01:43:19 UTC (rev 5328)
@@ -65,3 +65,21 @@
 
     def getChild(self, name):
         return self._hostedResource.getChild(name)
+
+    @inlineCallbacks
+    def hasProperty(self, property, request):
+        hosted = (yield self.hostedResource(request))
+        result = (yield hosted.hasProperty(property, request))
+        returnValue(result)
+
+    @inlineCallbacks
+    def readProperty(self, property, request):
+        hosted = (yield self.hostedResource(request))
+        result = (yield hosted.readProperty(property, request))
+        returnValue(result)
+
+    @inlineCallbacks
+    def writeProperty(self, property, request):
+        hosted = (yield self.hostedResource(request))
+        result = (yield hosted.writeProperty(property, request))
+        returnValue(result)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100316/28aa2227/attachment.html>


More information about the calendarserver-changes mailing list