[GRASS-SVN] r70548 - grass-addons/grass7/raster/r.flexure
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 13 07:30:24 PST 2017
Author: hcho
Date: 2017-02-13 07:30:24 -0800 (Mon, 13 Feb 2017)
New Revision: 70548
Modified:
grass-addons/grass7/raster/r.flexure/r.flexure.py
Log:
r.flexure: Fix overwrite flag
Modified: grass-addons/grass7/raster/r.flexure/r.flexure.py
===================================================================
--- grass-addons/grass7/raster/r.flexure/r.flexure.py 2017-02-13 13:36:16 UTC (rev 70547)
+++ grass-addons/grass7/raster/r.flexure/r.flexure.py 2017-02-13 15:30:24 UTC (rev 70548)
@@ -297,7 +297,7 @@
# Create a new garray buffer and write to it
outbuffer = garray.array() # Instantiate output buffer
outbuffer[...] = flex.w
- outbuffer.write(options['output'], overwrite=grass.overwrite) # Write it with the desired name
+ outbuffer.write(options['output'], overwrite=grass.overwrite()) # Write it with the desired name
# And create a nice colormap!
grass.run_command('r.colors', map=options['output'], color='differences', quiet=True)
More information about the grass-commit
mailing list