[GRASS-SVN] r71249 - grass/branches/releasebranch_7_2/gui/wxpython/modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 8 18:50:53 PDT 2017
Author: annakrat
Date: 2017-07-08 18:50:53 -0700 (Sat, 08 Jul 2017)
New Revision: 71249
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/modules/mcalc_builder.py
Log:
In G7 r.mapcalc expects expression to be passed as a parameter (merge from trunk, r70797)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/modules/mcalc_builder.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/modules/mcalc_builder.py 2017-07-09 01:44:32 UTC (rev 71248)
+++ grass/branches/releasebranch_7_2/gui/wxpython/modules/mcalc_builder.py 2017-07-09 01:50:53 UTC (rev 71249)
@@ -589,7 +589,7 @@
seed = " seed={val}".format(
val=self.randomSeedText.GetValue().strip())
- return ('{cmd} "{new} = {expr}"{seed}{seed_flag}{overwrite}'
+ return ('{cmd} expression="{new} = {expr}"{seed}{seed_flag}{overwrite}'
.format(cmd=cmd, expr=expr, new=self.newmaptxt.GetValue(),
seed_flag=seed_flag, seed=seed, overwrite=overwrite))
More information about the grass-commit
mailing list