[GRASS-SVN] r44332 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 15:58:44 EST 2010


Author: martinl
Date: 2010-11-15 12:58:44 -0800 (Mon, 15 Nov 2010)
New Revision: 44332

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: sort mapsets


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2010-11-15 20:52:20 UTC (rev 44331)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2010-11-15 20:58:44 UTC (rev 44332)
@@ -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