[GRASS-SVN] r49046 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 2 09:10:41 EDT 2011
Author: martinl
Date: 2011-11-02 06:10:41 -0700 (Wed, 02 Nov 2011)
New Revision: 49046
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: disable checking variables in file (this should be optional only)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py 2011-11-02 12:42:25 UTC (rev 49045)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py 2011-11-02 13:10:41 UTC (rev 49046)
@@ -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