[GRASS-SVN] r44333 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 16:00:32 EST 2010


Author: martinl
Date: 2010-11-15 13:00:32 -0800 (Mon, 15 Nov 2010)
New Revision: 44333

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: sort mapsets
(merge r44332 from devbr6)


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