[GRASS-SVN] r44334 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Nov 15 16:01:59 EST 2010
Author: martinl
Date: 2010-11-15 13:01:59 -0800 (Mon, 15 Nov 2010)
New Revision: 44334
Modified:
grass/trunk/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: sort mapsets
(merge r44332 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/utils.py 2010-11-15 21:00:32 UTC (rev 44333)
+++ grass/trunk/gui/wxpython/gui_modules/utils.py 2010-11-15 21:01:59 UTC (rev 44334)
@@ -630,9 +630,9 @@
os.path.isfile(os.path.join(dbase, location, mapset, "WIND")) and \
os.path.basename(mapset) != 'PERMANENT':
listOfMapsets.append(EncodeString(os.path.basename(mapset)))
- ListSortLower(listOfMapsets)
listOfMapsets.insert(0, 'PERMANENT')
-
+
+ ListSortLower(listOfMapsets)
return listOfMapsets
def GetColorTables():
More information about the grass-commit
mailing list