Pārlūkot izejas kodu

remove unneeded tmp file

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62272 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 gadi atpakaļ
vecāks
revīzija
1642c2a49f
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0 6
      scripts/v.in.geonames/v.in.geonames.py

+ 0 - 6
scripts/v.in.geonames/v.in.geonames.py

@@ -41,10 +41,6 @@ def main():
     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 @@ def main():
               input = infile, output = outfile,
               columns = columns)
 
-    grass.try_remove(tmpfile)
-
     # write cmd history:
     grass.vector_history(outfile)