[GRASS-SVN] r62738 - grass-addons/grass7/vector/v.fixed.segmentpoints
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 14 07:53:30 PST 2014
Author: hellik
Date: 2014-11-14 07:53:30 -0800 (Fri, 14 Nov 2014)
New Revision: 62738
Modified:
grass-addons/grass7/vector/v.fixed.segmentpoints/v.fixed.segmentpoints.py
Log:
v.fixed.segmentpoints: fix script for quiet mode
Modified: grass-addons/grass7/vector/v.fixed.segmentpoints/v.fixed.segmentpoints.py
===================================================================
--- grass-addons/grass7/vector/v.fixed.segmentpoints/v.fixed.segmentpoints.py 2014-11-14 15:13:48 UTC (rev 62737)
+++ grass-addons/grass7/vector/v.fixed.segmentpoints/v.fixed.segmentpoints.py 2014-11-14 15:53:30 UTC (rev 62738)
@@ -108,8 +108,9 @@
option = 'length',
units = 'meters',
column = 'vlength',
- flags = 'p')
- vector_line_length = float(tmp.split('\n')[1].split('|')[1])
+ flags = 'p',
+ quiet = True)
+ vector_line_length = float(tmp.split('|')[1])
# Print vector line length
grass.message( "Vector line length in meter:" )
More information about the grass-commit
mailing list