[GRASS-SVN] r42223 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 11 12:56:03 EDT 2010


Author: martinl
Date: 2010-05-11 12:56:03 -0400 (Tue, 11 May 2010)
New Revision: 42223

Modified:
   grass/trunk/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: remove problematic code (Windows)


Modified: grass/trunk/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/utils.py	2010-05-11 16:52:32 UTC (rev 42222)
+++ grass/trunk/gui/wxpython/gui_modules/utils.py	2010-05-11 16:56:03 UTC (rev 42223)
@@ -651,9 +651,6 @@
 
 def _getGDALFormats():
     """!Get dictionary of avaialble GDAL drivers"""
-    if not grass.find_program('r.in.gdal'):
-        return _parseFormats(None)
-    
     ret = grass.read_command('r.in.gdal',
                              quiet = True,
                              flags = 'f')
@@ -662,9 +659,6 @@
 
 def _getOGRFormats():
     """!Get dictionary of avaialble OGR drivers"""
-    if not grass.find_program('v.in.ogr'):
-        return _parseFormats(None)
-    
     ret = grass.read_command('v.in.ogr',
                              quiet = True,
                              flags = 'f')



More information about the grass-commit mailing list