[GRASS-SVN] r74088 - grass/trunk/scripts/v.rast.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 15 05:29:23 PST 2019
Author: mlennert
Date: 2019-02-15 05:29:23 -0800 (Fri, 15 Feb 2019)
New Revision: 74088
Modified:
grass/trunk/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: replace xrange with range for python 3 compatibility
Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2019-02-15 13:19:25 UTC (rev 74087)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2019-02-15 13:29:23 UTC (rev 74088)
@@ -214,7 +214,7 @@
# replaced by user choiche
#basecols = ['n', 'min', 'max', 'range', 'mean', 'stddev', 'variance', 'cf_var', 'sum']
- for i in xrange(len(rasters)):
+ for i in range(len(rasters)):
raster = rasters[i]
colprefix = colprefixes[i]
# we need at least three chars to distinguish [mea]n from [med]ian
More information about the grass-commit
mailing list