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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 3 06:15:10 EST 2009


Author: martinl
Date: 2009-02-03 06:15:10 -0500 (Tue, 03 Feb 2009)
New Revision: 35744

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
Log:
revert r35743, g.mlist has been fixed

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2009-02-03 11:00:20 UTC (rev 35743)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py	2009-02-03 11:15:10 UTC (rev 35744)
@@ -22,7 +22,6 @@
 
 import os
 import sys
-import platform
 
 import wx
 import wx.combo
@@ -217,15 +216,10 @@
                 mapsets[i] = mapsets[0]
                 mapsets[0] = curr_mapset
         
-        ### g.mlist is broken in OSGEO4W installation
-        #        if globalvar.have_mlist:
-        #            filesdict = grass.mlist_grouped(elementdict[element])
-        #        else:
-        #            filesdict = grass.list_grouped(elementdict[element])
-        if platform.system() == 'Windows':
-            filesdict = grass.list_grouped(elementdict[element])
-        else:
+        if globalvar.have_mlist:
             filesdict = grass.mlist_grouped(elementdict[element])
+        else:
+            filesdict = grass.list_grouped(elementdict[element])
         
         for dir in mapsets:
             dir_node = self.AddItem('Mapset: '+dir)



More information about the grass-commit mailing list