[CalendarServer-changes] [13034] CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/ directory/calendar.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 28 14:41:57 PDT 2014


Revision: 13034
          http://trac.calendarserver.org//changeset/13034
Author:   sagen at apple.com
Date:     2014-03-28 14:41:57 -0700 (Fri, 28 Mar 2014)
Log Message:
-----------
Replace listRecords with recordsWithRecordType

Modified Paths:
--------------
    CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/directory/calendar.py

Modified: CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/directory/calendar.py
===================================================================
--- CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/directory/calendar.py	2014-03-28 21:30:15 UTC (rev 13033)
+++ CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/directory/calendar.py	2014-03-28 21:41:57 UTC (rev 13034)
@@ -191,7 +191,7 @@
     def listChildren(self):
         if config.EnablePrincipalListings:
             children = []
-            for record in (yield self.directory.listRecords(self.recordType)):
+            for record in (yield self.directory.recordsWithRecordType(self.recordType)):
                 if record.hasCalendars:
                     for shortName in record.shortNames:
                         children.append(shortName)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140328/bbe7f268/attachment-0001.html>


More information about the calendarserver-changes mailing list