[GRASS-SVN] r40346 - grass-addons/vector/v.in.lines
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 9 07:54:18 EST 2010
Author: hamish
Date: 2010-01-09 07:54:17 -0500 (Sat, 09 Jan 2010)
New Revision: 40346
Modified:
grass-addons/vector/v.in.lines/v.in.lines.py
Log:
more minor fixes
Modified: grass-addons/vector/v.in.lines/v.in.lines.py
===================================================================
--- grass-addons/vector/v.in.lines/v.in.lines.py 2010-01-09 12:38:41 UTC (rev 40345)
+++ grass-addons/vector/v.in.lines/v.in.lines.py 2010-01-09 12:54:17 UTC (rev 40346)
@@ -60,7 +60,7 @@
infile_opt = options['input']
output = options['output']
- fsep = options['fs']
+ fs = options['fs']
threeD = flags['z']
prog = 'v.in.lines'
@@ -131,7 +131,7 @@
##### check that there are at least two columns (three if -z is given)
inf = file(runfile)
line = inf.readline()
- numcols = len(line.split(' '))
+ numcols = len(line.split())
if (do3D and numcols < 3) or (not do3D and numcols < 2):
grass.fatal(_("Not enough data columns. (incorrect fs setting?)"))
inf.close()
More information about the grass-commit
mailing list