[CalendarServer-changes] [5841] CalendarServer/branches/new-store/twistedcaldav/storebridge.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 2 14:36:44 PDT 2010


Revision: 5841
          http://trac.macosforge.org/projects/calendarserver/changeset/5841
Author:   glyph at apple.com
Date:     2010-07-02 14:36:43 -0700 (Fri, 02 Jul 2010)
Log Message:
-----------
very basic listChildren() for object dropboxes

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:41:24 UTC (rev 5840)
+++ CalendarServer/branches/new-store/twistedcaldav/storebridge.py	2010-07-02 21:36:43 UTC (rev 5841)
@@ -368,7 +368,14 @@
         return CREATED
 
 
+    def listChildren(self):
+        l = []
+        for attachment in self._newStoreCalendarObject.attachments():
+            l.append(attachment.name())
+        return l
 
+
+
 class ProtoCalendarAttachment(_GetChildHelper, CalDAVResource):
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100702/e740c1a1/attachment-0001.html>


More information about the calendarserver-changes mailing list