[GRASS-SVN] r62617 - in grass/branches/releasebranch_7_0: . lib/python/pygrass/vector

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 5 08:00:59 PST 2014


Author: lucadelu
Date: 2014-11-05 08:00:58 -0800 (Wed, 05 Nov 2014)
New Revision: 62617

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/lib/python/pygrass/vector/table.py
Log:
pygrass table: backport fix to update function


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:61096,62179-62180,62182,62403,62422,62424,62437,62466,62487,62491,62494,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62570,62573,62575,62597,62603,62606,62609,62614
   + /grass/trunk:61096,62179-62180,62182,62403,62422,62424,62437,62466,62487,62491,62494,62501,62506,62508-62509,62515,62518-62519,62521,62526,62533,62539,62541,62555,62562,62570,62573,62575,62597,62603,62606,62609,62614

Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/vector/table.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/vector/table.py	2014-11-05 14:06:26 UTC (rev 62616)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/vector/table.py	2014-11-05 16:00:58 UTC (rev 62617)
@@ -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