[CalendarServer-changes] [391]
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/
directory/resource.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 7 19:20:02 PST 2006
Revision: 391
http://trac.macosforge.org/projects/calendarserver/changeset/391
Author: wsanchez at apple.com
Date: 2006-11-07 19:20:01 -0800 (Tue, 07 Nov 2006)
Log Message:
-----------
listChildren() hsould return a sequence of names, not IDirectoryRecord objects
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py
Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py 2006-11-08 02:53:13 UTC (rev 390)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/resource.py 2006-11-08 03:20:01 UTC (rev 391)
@@ -109,7 +109,7 @@
return DirectoryPrincipalResource(child_fp.path, self, name)
def listChildren(self):
- return self.directory.listRecords(self.recordType)
+ return [record.shortName for record in self.directory.listRecords(self.recordType)]
class DirectoryPrincipalResource (ReadOnlyResourceMixIn, CalendarPrincipalFile):
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061107/db9816df/attachment.html
More information about the calendarserver-changes
mailing list