[GRASS-SVN] r35189 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 4 09:02:56 EST 2009
Author: martinl
Date: 2009-01-04 09:02:55 -0500 (Sun, 04 Jan 2009)
New Revision: 35189
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: use gcmd.RunCommand instead of grass.read_command
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2009-01-04 13:53:56 UTC (rev 35188)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2009-01-04 14:02:55 UTC (rev 35189)
@@ -487,10 +487,12 @@
"""Insert attribute tables into combobox"""
items = []
tableCmd = None
- ret = grass.read_command('db.tables',
- flags = 'p',
- driver = driver,
- database = database)
+ ret = gcmd.RunCommand('db.tables',
+ parent = self,
+ read = True,
+ flags = 'p',
+ driver = driver,
+ database = database)
if ret == None:
tableCmd = None
More information about the grass-commit
mailing list