[GRASS-SVN] r62602 - grass-addons/grass7/vector/v.isochrones
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 4 16:40:31 PST 2014
Author: mlennert
Date: 2014-11-04 16:40:30 -0800 (Tue, 04 Nov 2014)
New Revision: 62602
Modified:
grass-addons/grass7/vector/v.isochrones/v.isochrones.py
Log:
v.isochrones: temp map to remove is raster, not vector
Modified: grass-addons/grass7/vector/v.isochrones/v.isochrones.py
===================================================================
--- grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2014-11-05 00:21:37 UTC (rev 62601)
+++ grass-addons/grass7/vector/v.isochrones/v.isochrones.py 2014-11-05 00:40:30 UTC (rev 62602)
@@ -93,8 +93,8 @@
grass.run_command('g.remove', flags='f', type='rast', name=tmp_map, quiet=True)
if grass.find_file(tmp_time_map, element='raster')['name']:
grass.run_command('g.remove', flags='f', type='rast', name=tmp_time_map, quiet=True)
- if grass.find_file(tmp_region_map, element='vector')['name']:
- grass.run_command('g.remove', flags='f', type='vect', name=tmp_region_map, quiet=True)
+ if grass.find_file(tmp_region_map, element='raster')['name']:
+ grass.run_command('g.remove', flags='f', type='rast', name=tmp_region_map, quiet=True)
def main():
More information about the grass-commit
mailing list