[GRASS-SVN] r70797 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 25 01:00:34 PDT 2017


Author: marisn
Date: 2017-03-25 01:00:34 -0700 (Sat, 25 Mar 2017)
New Revision: 70797

Modified:
   grass/trunk/gui/wxpython/modules/mcalc_builder.py
Log:
In G7 r.mapcalc expects expression to be passed as a parameter


Modified: grass/trunk/gui/wxpython/modules/mcalc_builder.py
===================================================================
--- grass/trunk/gui/wxpython/modules/mcalc_builder.py	2017-03-25 07:07:12 UTC (rev 70796)
+++ grass/trunk/gui/wxpython/modules/mcalc_builder.py	2017-03-25 08:00:34 UTC (rev 70797)
@@ -595,7 +595,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