[GRASS-SVN] r46174 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 3 16:45:54 EDT 2011


Author: martinl
Date: 2011-05-03 13:45:54 -0700 (Tue, 03 May 2011)
New Revision: 46174

Modified:
   grass/trunk/gui/wxpython/gui_modules/layertree.py
Log:
wxGUI: fix v.info syntax


Modified: grass/trunk/gui/wxpython/gui_modules/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/layertree.py	2011-05-03 19:13:05 UTC (rev 46173)
+++ grass/trunk/gui/wxpython/gui_modules/layertree.py	2011-05-03 20:45:54 UTC (rev 46174)
@@ -343,8 +343,8 @@
             if layer and layer.GetType() == 'vector':
                 if 'info' not in self.GetPyData(self.layer_selected)[0]:
                     info = grass.parse_command('v.info',
-                                               map = layer.GetName(),
-                                               shell = 'basic')
+                                               flags = 'g',
+                                               map = layer.GetName())
                     self.GetPyData(self.layer_selected)[0]['info'] = info
                 info = self.GetPyData(self.layer_selected)[0]['info']
                 if info and info['format'] == 'ogr,PostgreSQL':



More information about the grass-commit mailing list