Fix of issue 2504, sorting in WinXP.

svn: r11325
This commit is contained in:
Peter Landgren 2008-11-21 14:39:16 +00:00
parent 642ac1a59b
commit bdbca9f2d5

View File

@ -191,9 +191,9 @@ class NodeTreeMap:
return None
def build_sub_entry(self, name):
slist = [ (locale.strxfrm(self.sortnames[x]), x) \
slist = [ (self.sortnames[x], x) \
for x in self.temp_sname_sub[name] ]
slist.sort()
slist.sort(lambda x, y: locale.strcoll(x[0], y[0]))
val = 0
for (junk, person_handle) in slist: