Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance
svn: r12739
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user