[GRASS-SVN] r72550 - in grass/trunk/gui/wxpython: dbmgr gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 24 04:24:00 PDT 2018
Author: martinl
Date: 2018-03-24 04:24:00 -0700 (Sat, 24 Mar 2018)
New Revision: 72550
Modified:
grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/SqlWhereSelect: fix renaming issues
Modified: grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py 2018-03-24 11:22:48 UTC (rev 72549)
+++ grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py 2018-03-24 11:24:00 UTC (rev 72550)
@@ -420,9 +420,6 @@
self.dbInfo.GetTable(
self.layer))[column]['type']
- if ctype == 'character':
- value = "'%s'" % value
-
self._add(element='value', value=value)
def OnGoTo(self, event):
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2018-03-24 11:22:48 UTC (rev 72549)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2018-03-24 11:24:00 UTC (rev 72550)
@@ -325,7 +325,7 @@
if not cparams[map]['dbInfo']:
cparams[map]['dbInfo'] = gselect.VectorDBInfo(map)
- self.data[win.GetParent().SetData] = {
+ self.data[win.GetParent().InsertColumns] = {
'vector': map, 'layer': layer,
'dbInfo': cparams[map]['dbInfo']}
else: # table
More information about the grass-commit
mailing list