[GRASS-SVN] r45881 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 9 14:47:55 EDT 2011


Author: martinl
Date: 2011-04-09 11:47:55 -0700 (Sat, 09 Apr 2011)
New Revision: 45881

Modified:
   grass/trunk/gui/wxpython/gui_modules/gselect.py
Log:
#1304: wx: map selection with LANG=C causes error
	sort items case-sensitive


Modified: grass/trunk/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gselect.py	2011-04-09 12:43:50 UTC (rev 45880)
+++ grass/trunk/gui/wxpython/gui_modules/gselect.py	2011-04-09 18:47:55 UTC (rev 45881)
@@ -329,7 +329,7 @@
                 continue
             try:
                 elem_list = filesdict[mapset]
-                elem_list.sort(key = unicode.lower)
+                elem_list.sort()
                 for elem in elem_list:
                     if elem != '':
                         fullqElem = elem + '@' + mapset



More information about the grass-commit mailing list