[GRASS-SVN] r54504 - grass/trunk/gui/wxpython/iclass
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 2 09:26:47 PST 2013
Author: martinl
Date: 2013-01-02 09:26:45 -0800 (Wed, 02 Jan 2013)
New Revision: 54504
Modified:
grass/trunk/gui/wxpython/iclass/frame.py
Log:
wxGUI/iclass: be silent when checking connections for imported vector map
Modified: grass/trunk/gui/wxpython/iclass/frame.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/frame.py 2013-01-02 17:24:30 UTC (rev 54503)
+++ grass/trunk/gui/wxpython/iclass/frame.py 2013-01-02 17:26:45 UTC (rev 54504)
@@ -526,7 +526,7 @@
# check if attribute table really exists (fix broken connections)
for layer in grass.vector_db(vector):
- if 0 != RunCommand('v.db.select', map = vector, where = "0 = 1"):
+ if 0 != RunCommand('v.db.select', flags = 'c', map = vector, where = "0 = 1"):
GWarning(_("Vector map <%s>: no attribute table found") % vector,
parent = self)
RunCommand('v.db.connect', flags = 'd', map = vector, layer = layer,
More information about the grass-commit
mailing list