[GRASS-SVN] r63549 - grass-addons/grass7/raster/r.basin
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 15 00:40:17 PST 2014
Author: hellik
Date: 2014-12-15 00:40:17 -0800 (Mon, 15 Dec 2014)
New Revision: 63549
Modified:
grass-addons/grass7/raster/r.basin/r.basin.py
Log:
r.basin: remove saved region after setting back to original
Modified: grass-addons/grass7/raster/r.basin/r.basin.py
===================================================================
--- grass-addons/grass7/raster/r.basin/r.basin.py 2014-12-15 07:37:34 UTC (rev 63548)
+++ grass-addons/grass7/raster/r.basin/r.basin.py 2014-12-15 08:40:17 UTC (rev 63549)
@@ -837,6 +837,7 @@
# Set region to original
grass.read_command('g.region', flags = 'p', region = 'original')
+ grass.run_command('g.remove', flags = 'f', type = 'region', name = 'original')
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list