[GRASS-SVN] r62272 - grass/trunk/scripts/v.in.geonames

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 16 23:47:02 PDT 2014


Author: neteler
Date: 2014-10-16 23:47:02 -0700 (Thu, 16 Oct 2014)
New Revision: 62272

Modified:
   grass/trunk/scripts/v.in.geonames/v.in.geonames.py
Log:
remove unneeded tmp file

Modified: grass/trunk/scripts/v.in.geonames/v.in.geonames.py
===================================================================
--- grass/trunk/scripts/v.in.geonames/v.in.geonames.py	2014-10-17 01:14:03 UTC (rev 62271)
+++ grass/trunk/scripts/v.in.geonames/v.in.geonames.py	2014-10-17 06:47:02 UTC (rev 62272)
@@ -41,10 +41,6 @@
     infile  = options['input']
     outfile = options['output']
     
-
-    #### setup temporary file
-    tmpfile = grass.tempfile()
-
     #are we in LatLong location?
     s = grass.read_command("g.proj", flags='j')
     kv = grass.parse_key_val(s)
@@ -141,8 +137,6 @@
               input = infile, output = outfile,
               columns = columns)
 
-    grass.try_remove(tmpfile)
-
     # write cmd history:
     grass.vector_history(outfile)
 



More information about the grass-commit mailing list