[CalendarServer-changes] [568]
CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/
directory/apache.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 22 15:03:42 PST 2006
Revision: 568
http://trac.macosforge.org/projects/calendarserver/changeset/568
Author: wsanchez at apple.com
Date: 2006-11-22 15:03:42 -0800 (Wed, 22 Nov 2006)
Log Message:
-----------
listRecords() returns a record, not a short name
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/apache.py
Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/apache.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/apache.py 2006-11-22 22:55:55 UTC (rev 567)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/apache.py 2006-11-22 23:03:42 UTC (rev 568)
@@ -142,8 +142,7 @@
self._cryptPassword = cryptPassword
def groups(self):
- for groupName in self.service.listRecords("group"):
- group = self.service.recordWithShortName("group", groupName)
+ for group in self.service.listRecords("group"):
for member in group.members():
if member == self:
yield group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061122/e19ef337/attachment.html
More information about the calendarserver-changes
mailing list