Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance

svn: r12739
This commit is contained in:
Gerald Britton
2009-06-30 14:05:57 +00:00
parent b1dd135363
commit d022d0187b
6 changed files with 109 additions and 15 deletions

View File

@@ -81,7 +81,7 @@ class PlaceReport(Report):
# Use the place handles selected without a filter
self.place_handles = self.__get_place_handles(places)
self.place_handles.sort(self.sort.by_place_title)
self.place_handles.sort(key=self.sort.by_place_title_key)
def write_report(self):
"""