[GRASS-SVN] r52222 - grass/branches/releasebranch_6_4/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 25 23:40:00 PDT 2012


Author: hamish
Date: 2012-06-25 23:39:59 -0700 (Mon, 25 Jun 2012)
New Revision: 52222

Modified:
   grass/branches/releasebranch_6_4/lib/python/vector.py
Log:
arg name must be exact (merge from trunk)

Modified: grass/branches/releasebranch_6_4/lib/python/vector.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/vector.py	2012-06-26 06:39:12 UTC (rev 52221)
+++ grass/branches/releasebranch_6_4/lib/python/vector.py	2012-06-26 06:39:59 UTC (rev 52222)
@@ -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