[GRASS-SVN] r66321 - grass-addons/grass7/raster/r.green/libgreen
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 24 06:33:32 PDT 2015
Author: Giulia
Date: 2015-09-24 06:33:32 -0700 (Thu, 24 Sep 2015)
New Revision: 66321
Modified:
grass-addons/grass7/raster/r.green/libgreen/utils.py
Log:
r.green: cleanup function
Modified: grass-addons/grass7/raster/r.green/libgreen/utils.py
===================================================================
--- grass-addons/grass7/raster/r.green/libgreen/utils.py 2015-09-24 12:36:35 UTC (rev 66320)
+++ grass-addons/grass7/raster/r.green/libgreen/utils.py 2015-09-24 13:33:32 UTC (rev 66321)
@@ -29,6 +29,9 @@
if pattern:
gcore.run_command("g.remove", flags="f", type='raster,vector',
pattern=pattern)
+ # twice for base maps
+ gcore.run_command("g.remove", flags="f", type='raster,vector',
+ pattern=pattern)
def check_overlay_rv(raster, vector):
More information about the grass-commit
mailing list