[GRASS-SVN] r52221 - grass/branches/develbranch_6/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 25 23:39:12 PDT 2012
Author: hamish
Date: 2012-06-25 23:39:12 -0700 (Mon, 25 Jun 2012)
New Revision: 52221
Modified:
grass/branches/develbranch_6/lib/python/vector.py
Log:
arg name must be exact (merge from trunk)
Modified: grass/branches/develbranch_6/lib/python/vector.py
===================================================================
--- grass/branches/develbranch_6/lib/python/vector.py 2012-06-26 06:37:24 UTC (rev 52220)
+++ grass/branches/develbranch_6/lib/python/vector.py 2012-06-26 06:39:12 UTC (rev 52221)
@@ -180,7 +180,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