瀏覽代碼

pygrass table: backport fix to update function

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62617 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 10 年之前
父節點
當前提交
30a3b309cb
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lib/python/pygrass/vector/table.py

+ 0 - 1
lib/python/pygrass/vector/table.py

@@ -1125,7 +1125,6 @@ class Table(object):
         :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):