[CalendarServer-changes] [466]
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/
directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 15 11:30:24 PST 2006
Revision: 466
http://trac.macosforge.org/projects/calendarserver/changeset/466
Author: wsanchez at apple.com
Date: 2006-11-15 11:30:23 -0800 (Wed, 15 Nov 2006)
Log Message:
-----------
cosmetic
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py 2006-11-15 05:41:04 UTC (rev 465)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py 2006-11-15 19:30:23 UTC (rev 466)
@@ -197,16 +197,16 @@
return
for guid in self._memberGUIDs:
- record = self.service.recordWithGUID(guid)
- if record is None:
+ userRecord = self.service.recordWithGUID(guid)
+ if userRecord is None:
log.err("No record for member of group %s with GUID %s" % (self.shortName, guid))
else:
- yield record
+ yield userRecord
def groups(self):
- for group in self.service._cacheRecords("group").itervalues():
- if self.guid in group._memberGUIDs:
- yield group
+ for groupRecord in self.service._cacheRecords("group").itervalues():
+ if self.guid in groupRecord._memberGUIDs:
+ yield groupRecord
def verifyCredentials(self, credentials):
if isinstance(credentials, UsernamePassword):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061115/f955af73/attachment.html
More information about the calendarserver-changes
mailing list