[GRASS-SVN] r40347 - grass-addons/vector/v.in.lines

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 9 07:57:28 EST 2010


Author: hamish
Date: 2010-01-09 07:57:28 -0500 (Sat, 09 Jan 2010)
New Revision: 40347

Modified:
   grass-addons/vector/v.in.lines/v.in.lines.py
Log:
even 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:54:17 UTC (rev 40346)
+++ grass-addons/vector/v.in.lines/v.in.lines.py	2010-01-09 12:57:28 UTC (rev 40347)
@@ -72,6 +72,10 @@
     else:
         do3D = ''
 
+
+    tmp = grass.tempfile()
+
+
     #### parse field separator
     if fs in ('space', 'tab'):
         fs = ' '
@@ -96,8 +100,6 @@
         grass.debug("input file=[%s]" % infile)
 
 
-    tmp = grass.tempfile()
-
     if not infile:
         # read from stdin and write to tmpfile (v.in.mapgen wants a real file)
         outf = file(tmp, 'w')



More information about the grass-commit mailing list