[GRASS-SVN] r68848 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 3 15:47:07 PDT 2016


Author: martinl
Date: 2016-07-03 15:47:07 -0700 (Sun, 03 Jul 2016)
New Revision: 68848

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

Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2016-07-03 17:20:08 UTC (rev 68847)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2016-07-03 22:47:07 UTC (rev 68848)
@@ -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