[GRASS-SVN] r68849 - grass/branches/releasebranch_7_2/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 3 15:48:45 PDT 2016


Author: martinl
Date: 2016-07-03 15:48:45 -0700 (Sun, 03 Jul 2016)
New Revision: 68849

Modified:
   grass/branches/releasebranch_7_2/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_2/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gmodeler/model.py	2016-07-03 22:47:07 UTC (rev 68848)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gmodeler/model.py	2016-07-03 22:48:45 UTC (rev 68849)
@@ -1206,7 +1206,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