[GRASS-SVN] r70550 - grass/trunk/temporal/t.rast.gapfill

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 13 07:31:59 PST 2017


Author: hcho
Date: 2017-02-13 07:31:59 -0800 (Mon, 13 Feb 2017)
New Revision: 70550

Modified:
   grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py
Log:
t.rast.gapfill: Fix overwrite flag

Modified: grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py
===================================================================
--- grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py	2017-02-13 15:31:07 UTC (rev 70549)
+++ grass/trunk/temporal/t.rast.gapfill/t.rast.gapfill.py	2017-02-13 15:31:59 UTC (rev 70550)
@@ -184,7 +184,7 @@
             
             overwrite_flags[new_id] = False
             if new_map.map_exists() or new_map.is_in_db(dbif):
-                if not grass.overwrite:
+                if not grass.overwrite():
                         grass.fatal(_("Map with name <%s> already exists. "
                                       "Please use another base name." % (_id)))
                 else:



More information about the grass-commit mailing list