[CalendarServer-changes] [5839] CalendarServer/branches/new-store/twistedcaldav/storebridge.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 2 09:40:00 PDT 2010
Revision: 5839
http://trac.macosforge.org/projects/calendarserver/changeset/5839
Author: glyph at apple.com
Date: 2010-07-02 09:39:59 -0700 (Fri, 02 Jul 2010)
Log Message:
-----------
minor fixes
Modified Paths:
--------------
CalendarServer/branches/new-store/twistedcaldav/storebridge.py
Modified: CalendarServer/branches/new-store/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/storebridge.py 2010-07-02 16:35:56 UTC (rev 5838)
+++ CalendarServer/branches/new-store/twistedcaldav/storebridge.py 2010-07-02 16:39:59 UTC (rev 5839)
@@ -249,6 +249,10 @@
return self.getChild(segments[0]), segments[1:]
+ def getChild(self, name):
+ return None
+
+
def readProperty(self, property, request):
if type(property) is tuple:
qname = property
@@ -305,13 +309,16 @@
def listChildren(self):
- # FIXME: implement (needs to list attachments with attachments()
- raise NotImplementedError()
-
-
+ l = []
+ for everyCalendar in self._newStoreCalendarHome.calendars():
+ for everyObject in everyCalendar.calendarObjects():
+ l.append(everyObject.dropboxID())
+ return l
+
+
class NoDropboxHere(_GetChildHelper, CalDAVResource):
-
+
def isCollection(self):
return False
@@ -355,8 +362,8 @@
def http_ACL(self, request):
# Sure, whatevs.
return OK
-
-
+
+
def http_MKCOL(self, request):
return CREATED
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100702/6eaaf215/attachment.html>
More information about the calendarserver-changes
mailing list