[GRASS-SVN] r45882 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 9 14:59:47 EDT 2011
Author: martinl
Date: 2011-04-09 11:59:47 -0700 (Sat, 09 Apr 2011)
New Revision: 45882
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
#1304: wx: map selection with LANG=C causes error
sort items case-sensitive
(merge r45881 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2011-04-09 18:47:55 UTC (rev 45881)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2011-04-09 18:59:47 UTC (rev 45882)
@@ -328,7 +328,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