[GRASS-SVN] r68850 - grass/branches/releasebranch_7_0/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 3 15:49:22 PDT 2016


Author: martinl
Date: 2016-07-03 15:49:22 -0700 (Sun, 03 Jul 2016)
New Revision: 68850

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
Log:
g.gui.gmodeler: substitute all occurrences of variable in command (bugfix) (merge r68848 from trunk)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py	2016-07-03 22:48:45 UTC (rev 68849)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/model.py	2016-07-03 22:49:22 UTC (rev 68850)
@@ -1152,7 +1152,6 @@
                 for idx in range(len(cmd)):
                     if pattern.search(cmd[idx]):
                         cmd[idx] = pattern.sub(value, cmd[idx])
-                        break
                     idx += 1
         
         if string:



More information about the grass-commit mailing list