[GRASS-SVN] r63944 - grass-addons/grass7/raster/r.valley.bottom

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 3 11:36:01 PST 2015


Author: hellik
Date: 2015-01-03 11:36:01 -0800 (Sat, 03 Jan 2015)
New Revision: 63944

Modified:
   grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py
Log:
r.valley.bottom: fix clean up

Modified: grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py
===================================================================
--- grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py	2015-01-03 15:11:31 UTC (rev 63943)
+++ grass-addons/grass7/raster/r.valley.bottom/r.valley.bottom.py	2015-01-03 19:36:01 UTC (rev 63944)
@@ -647,23 +647,23 @@
 
     # clean up some temporay files and maps
     grass.message( "Some clean up ..." )	
-    grass.run_command('g.remove', region = "base_region_MrVBF", 
+    grass.run_command('g.remove', flags = 'f', type = 'region', name = "base_region_MrVBF", 
                                      quiet = True)
-    grass.run_command('g.remove', flags='f', type='raster', name= ["F1,F2,F3,F4"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["F1,F2,F3,F4"], 
                                      quiet = True)
-    grass.run_command('g.remove', flags='f', type='raster', name= ["CF2,CF3,CF4"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["CF2,CF3,CF4"], 
                                      quiet = True)
-    grass.run_command('g.remove', flags='f', type='raster', name= ["PCTL1,PCTL2,PCTL3,PCTL3_refined_base_resolution,PCTL4,PCTL4_refined_base_resolution"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["PCTL1,PCTL2,PCTL3,PCTL3_refined_base_resolution,PCTL4,PCTL4_refined_base_resolution"], 
                                      quiet = True)									 
-    grass.run_command('g.remove', flags='f', type='raster', name= ["PVF1,PVF2,PVF3,PVF4"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["PVF1,PVF2,PVF3,PVF4"], 
                                      quiet = True)									 
-    grass.run_command('g.remove', flags='f', type='raster', name= ["VF1,VF2,VF3,VF4"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["VF1,VF2,VF3,VF4"], 
                                      quiet = True)
-    grass.run_command('g.remove', flags='f', type='raster', name= ["W2,W3,W4"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["W2,W3,W4"], 
                                      quiet = True)									 
-    grass.run_command('g.remove', flags='f', type='raster', name= ["r_slope_step1,r_slope_step3,r_slope_step4,r_slope_step4_refined_base_resolution"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["r_slope_step1,r_slope_step3,r_slope_step4,r_slope_step4_refined_base_resolution"], 
                                      quiet = True)	
-    grass.run_command('g.remove', flags='f', type='raster', name= ["DEM_smoothed_step3,DEM_smoothed_step3_coarsed,DEM_smoothed_step4,DEM_smoothed_step4_coarsed"], 
+    grass.run_command('g.remove', flags = 'f', type = 'raster', name = ["DEM_smoothed_step3,DEM_smoothed_step3_coarsed,DEM_smoothed_step4,DEM_smoothed_step4_coarsed"], 
                                      quiet = True)	
 					 
     grass.message( "Clean up done." )



More information about the grass-commit mailing list