##// END OF EJS Templates
Don't attempt locale-aware sorting for now....
Thomas Kluyver -
Show More
@@ -18,7 +18,6 b' Authors:'
18 #-----------------------------------------------------------------------------
18 #-----------------------------------------------------------------------------
19
19
20 import io
20 import io
21 import locale
22 import os
21 import os
23 import glob
22 import glob
24 import shutil
23 import shutil
@@ -33,8 +32,8 b' from IPython.utils import tz'
33 from IPython.html.utils import is_hidden, to_os_path
32 from IPython.html.utils import is_hidden, to_os_path
34
33
35 def sort_key(item):
34 def sort_key(item):
36 """Case-insensitive, locale aware sorting."""
35 """Case-insensitive sorting."""
37 return locale.strxfrm(item['name'].lower())
36 return item['name'].lower()
38
37
39 #-----------------------------------------------------------------------------
38 #-----------------------------------------------------------------------------
40 # Classes
39 # Classes
General Comments 0
You need to be logged in to leave comments. Login now