[GRASS-SVN] r67606 - grass/branches/releasebranch_7_0/gui/wxpython/dbmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 18 19:09:30 PST 2016
Author: annakrat
Date: 2016-01-18 19:09:30 -0800 (Mon, 18 Jan 2016)
New Revision: 67606
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py
Log:
wxGUI/dbmgr: fix removing layer together with table (merge from trunk, r67605)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py 2016-01-19 03:08:02 UTC (rev 67605)
+++ grass/branches/releasebranch_7_0/gui/wxpython/dbmgr/base.py 2016-01-19 03:09:30 UTC (rev 67606)
@@ -3324,11 +3324,12 @@
sql = 'DROP TABLE %s' % (table)
RunCommand('db.execute',
- parent = self,
- stdin = sql,
- quiet = True,
- driver = driver,
- database = database)
+ input='-',
+ parent=self,
+ stdin=sql,
+ quiet=True,
+ driver=driver,
+ database=database)
# update list of tables
tableList = self.addLayerWidgets['table'][1]
More information about the grass-commit
mailing list