[CalendarServer-changes] [12862] twext/trunk/twext/who/aggregate.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 10 09:09:49 PDT 2014


Revision: 12862
          http://trac.calendarserver.org//changeset/12862
Author:   sagen at apple.com
Date:     2014-03-10 09:09:49 -0700 (Mon, 10 Mar 2014)
Log Message:
-----------
Use service.recordTypes( ) rather that iterating recordType, because Interfaces.

Modified Paths:
--------------
    twext/trunk/twext/who/aggregate.py

Modified: twext/trunk/twext/who/aggregate.py
===================================================================
--- twext/trunk/twext/who/aggregate.py	2014-03-08 02:19:19 UTC (rev 12861)
+++ twext/trunk/twext/who/aggregate.py	2014-03-10 16:09:49 UTC (rev 12862)
@@ -99,6 +99,6 @@
         service.
         """
         for service in self.services:
-            if recordType in service.recordType.iterconstants():
+            if recordType in service.recordTypes():
                 return service.recordWithShortName(recordType, shortName)
         return succeed(None)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140310/ec2d9f92/attachment-0001.html>


More information about the calendarserver-changes mailing list