[GRASS-SVN] r52220 - grass/trunk/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 25 23:37:24 PDT 2012
Author: hamish
Date: 2012-06-25 23:37:24 -0700 (Mon, 25 Jun 2012)
New Revision: 52220
Modified:
grass/trunk/lib/python/vector.py
Log:
arg name must be exact
Modified: grass/trunk/lib/python/vector.py
===================================================================
--- grass/trunk/lib/python/vector.py 2012-06-26 06:29:50 UTC (rev 52219)
+++ grass/trunk/lib/python/vector.py 2012-06-26 06:37:24 UTC (rev 52220)
@@ -221,7 +221,7 @@
['cat', 'AREA', 'PERIMETER', 'FULL_HYDRO', 'FULL_HYDR2', 'FTYPE', 'FCODE', 'NAME']
>>> print grass.vector_db_select('lakes')['values'][3]
['3', '19512.86146', '708.44683', '4', '55652', 'LAKE/POND', '39000', '']
- >>> print grass.vector_db_select('lakes', column = 'FTYPE')['values'][3]
+ >>> print grass.vector_db_select('lakes', columns = 'FTYPE')['values'][3]
['LAKE/POND']
\endcode
More information about the grass-commit
mailing list