[CalendarServer-changes] [10623] CalendarServer/trunk/twext/who/xml.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 1 15:08:59 PST 2013
Revision: 10623
http://trac.calendarserver.org//changeset/10623
Author: wsanchez at apple.com
Date: 2013-02-01 15:08:59 -0800 (Fri, 01 Feb 2013)
Log Message:
-----------
Modified Paths:
--------------
CalendarServer/trunk/twext/who/xml.py
Modified: CalendarServer/trunk/twext/who/xml.py
===================================================================
--- CalendarServer/trunk/twext/who/xml.py 2013-02-01 23:07:33 UTC (rev 10622)
+++ CalendarServer/trunk/twext/who/xml.py 2013-02-01 23:08:59 UTC (rev 10623)
@@ -298,10 +298,7 @@
XML directory record
"""
def members(self):
- if self.recordType != RecordType.group:
- return succeed(())
-
return succeed((
self.service.recordForUID(uid)
- for uid in self.memberUIDs
+ for uid in getattr(self, "memberUIDs", ())
))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130201/b83d8c29/attachment-0001.html>
More information about the calendarserver-changes
mailing list