[CalendarServer-changes] [11929] CalendarServer/trunk/twext/who/directory.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:21:51 PDT 2014


Revision: 11929
          http://trac.calendarserver.org//changeset/11929
Author:   wsanchez at apple.com
Date:     2013-11-08 17:24:57 -0800 (Fri, 08 Nov 2013)
Log Message:
-----------
sort

Modified Paths:
--------------
    CalendarServer/trunk/twext/who/directory.py

Modified: CalendarServer/trunk/twext/who/directory.py
===================================================================
--- CalendarServer/trunk/twext/who/directory.py	2013-11-09 01:21:50 UTC (rev 11928)
+++ CalendarServer/trunk/twext/who/directory.py	2013-11-09 01:24:57 UTC (rev 11929)
@@ -373,8 +373,7 @@
         """
         description = [self.__class__.__name__, u":"]
 
-        # for name in sorted(self.fields, key=lambda name: name.name):
-        for name in self.service.fieldName.iterconstants():
+        for name in sorted(self.service.fieldName.iterconstants()):
             if name not in self.fields:
                 continue
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/5ce20805/attachment.html>


More information about the calendarserver-changes mailing list