[GRASS-SVN] r62501 - grass/trunk/lib/python/pygrass/vector

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 31 03:41:27 PDT 2014


Author: lucadelu
Date: 2014-10-31 03:41:27 -0700 (Fri, 31 Oct 2014)
New Revision: 62501

Modified:
   grass/trunk/lib/python/pygrass/vector/table.py
Log:
pygrass table: fix update function

Modified: grass/trunk/lib/python/pygrass/vector/table.py
===================================================================
--- grass/trunk/lib/python/pygrass/vector/table.py	2014-10-31 08:46:43 UTC (rev 62500)
+++ grass/trunk/lib/python/pygrass/vector/table.py	2014-10-31 10:41:27 UTC (rev 62501)
@@ -1125,7 +1125,6 @@
         :type cursor: Cursor object
         """
         cur = cursor if cursor else self.conn.cursor()
-        values.append(key)
         return cur.execute(self.columns.update_str, values)
 
     def create(self, cols, name=None, overwrite=False, cursor=None):



More information about the grass-commit mailing list