[GRASS-SVN] r42221 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 11 12:49:23 EDT 2010
Author: martinl
Date: 2010-05-11 12:49:22 -0400 (Tue, 11 May 2010)
New Revision: 42221
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
Log:
wxGUI/mcalc: windows fixes (cont'ed)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py 2010-05-11 16:46:27 UTC (rev 42220)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py 2010-05-11 16:49:22 UTC (rev 42221)
@@ -648,9 +648,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')
@@ -659,10 +656,7 @@
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',
+ ret = grass.read_command('v.in.ogrx',
quiet = True,
flags = 'f')
More information about the grass-commit
mailing list