[GRASS-SVN] r49047 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 2 09:12:09 EDT 2011
Author: martinl
Date: 2011-11-02 06:12:09 -0700 (Wed, 02 Nov 2011)
New Revision: 49047
Modified:
grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: disable checking variables in file (this should be optional only)
(merge r49046 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py 2011-11-02 13:10:41 UTC (rev 49046)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py 2011-11-02 13:12:09 UTC (rev 49047)
@@ -418,9 +418,9 @@
break
if report:
errList.append(_("%s: undefined variable '%s'") % (cmd[0], var))
+ ### TODO: check variables in file only optionally
+ ### errList += self._substituteFile(action, checkOnly = True)
- errList += self._substituteFile(action, checkOnly = True)
-
return errList
def _substituteFile(self, item, params = None, checkOnly = False):
More information about the grass-commit
mailing list