[GRASS-SVN] r70565 - in grass/branches/releasebranch_7_2/temporal: t.rast.gapfill t.select
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 14 13:07:46 PST 2017
Author: neteler
Date: 2017-02-14 13:07:45 -0800 (Tue, 14 Feb 2017)
New Revision: 70565
Modified:
grass/branches/releasebranch_7_2/temporal/t.rast.gapfill/t.rast.gapfill.py
grass/branches/releasebranch_7_2/temporal/t.select/t.select.py
Log:
t.rast.gapfill + t.select: Fix overwrite flag (trunk, r70549, r70550)
Modified: grass/branches/releasebranch_7_2/temporal/t.rast.gapfill/t.rast.gapfill.py
===================================================================
--- grass/branches/releasebranch_7_2/temporal/t.rast.gapfill/t.rast.gapfill.py 2017-02-14 16:32:52 UTC (rev 70564)
+++ grass/branches/releasebranch_7_2/temporal/t.rast.gapfill/t.rast.gapfill.py 2017-02-14 21:07:45 UTC (rev 70565)
@@ -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:
Modified: grass/branches/releasebranch_7_2/temporal/t.select/t.select.py
===================================================================
--- grass/branches/releasebranch_7_2/temporal/t.select/t.select.py 2017-02-14 16:32:52 UTC (rev 70564)
+++ grass/branches/releasebranch_7_2/temporal/t.select/t.select.py 2017-02-14 21:07:45 UTC (rev 70565)
@@ -68,7 +68,7 @@
tgis.init(True)
p = tgis.TemporalAlgebraParser(run=True, debug=False, spatial=spatial, dry_run=dry_run)
- pc = p.parse(expression, stdstype, overwrite=grass.overwrite)
+ pc = p.parse(expression, stdstype, overwrite=grass.overwrite())
if dry_run is True:
import pprint
More information about the grass-commit
mailing list