浏览代码

wxGUI: remove problematic code (Windows)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42223 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
9f1545bf24
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      gui/wxpython/gui_modules/utils.py

+ 0 - 6
gui/wxpython/gui_modules/utils.py

@@ -651,9 +651,6 @@ def UnicodeString(string):
 
 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 _getGDALFormats():
 
 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')