replace refs to locale.strcoll with refs to locale.strxfrm
svn: r12712
This commit is contained in:
@@ -93,7 +93,7 @@ class NodeTreeMap(object):
|
||||
self.temp_sname_sub = {}
|
||||
|
||||
def build_toplevel(self):
|
||||
self.temp_top_path2iter = sorted(self.temp_sname_sub, locale.strcoll)
|
||||
self.temp_top_path2iter = sorted(self.temp_sname_sub, key=locale.strxfrm)
|
||||
for name in self.temp_top_path2iter:
|
||||
self.build_sub_entry(name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user