replace refs to locale.strcoll with refs to locale.strxfrm

svn: r12712
This commit is contained in:
Gerald Britton
2009-06-25 21:09:49 +00:00
parent 3a41651e50
commit b0a6f7c854
4 changed files with 8 additions and 8 deletions

View File

@@ -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)