[GRASS-SVN] r71520 - grass-addons/grass7/vector/v.stream.network
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 30 21:22:51 PDT 2017
Author: awickert
Date: 2017-09-30 21:22:51 -0700 (Sat, 30 Sep 2017)
New Revision: 71520
Modified:
grass-addons/grass7/vector/v.stream.network/v.stream.network.py
Log:
executemany --> execute
Modified: grass-addons/grass7/vector/v.stream.network/v.stream.network.py
===================================================================
--- grass-addons/grass7/vector/v.stream.network/v.stream.network.py 2017-10-01 01:06:02 UTC (rev 71519)
+++ grass-addons/grass7/vector/v.stream.network/v.stream.network.py 2017-10-01 04:22:51 UTC (rev 71520)
@@ -193,7 +193,7 @@
streamsTopo.open('rw')
cur = streamsTopo.table.conn.cursor()
# Default to 0 if no stream flows to it
- cur.executemany("update "+segments+" set tostream=0", nseg_cats)
+ cur.execute("update "+streams+" set tostream=0")
# use "executemany" ????????????????????????????????????????????????????
# see v.gsflow.segments.py
for i in range(len(tocat)):
More information about the grass-commit
mailing list