[GRASS-SVN] r64409 - grass-addons/grass7/raster/r.popgrowth
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 3 02:20:28 PST 2015
Author: jradinger
Date: 2015-02-03 02:20:28 -0800 (Tue, 03 Feb 2015)
New Revision: 64409
Modified:
grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py
Log:
Removal of tmp raster maps
Modified: grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py
===================================================================
--- grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py 2015-02-03 02:49:07 UTC (rev 64408)
+++ grass-addons/grass7/raster/r.popgrowth/r.popgrowth.py 2015-02-03 10:20:28 UTC (rev 64409)
@@ -140,12 +140,12 @@
def cleanup():
grass.debug(_("This is the cleanup part"))
if (tmp_map_rast or tmp_map_vect):
-# grass.run_command("g.remove",
-# flags = 'f',
-# type = 'raster',
-# name = [f + str(os.getpid()) for f in tmp_map_rast],
-# quiet = True)
grass.run_command("g.remove",
+ flags = 'fb',
+ type = 'raster',
+ name = [f + str(os.getpid()) for f in tmp_map_rast],
+ quiet = True)
+ grass.run_command("g.remove",
flags = 'f',
type = 'vector',
name = [f + str(os.getpid()) for f in tmp_map_vect],
More information about the grass-commit
mailing list