[GRASS-SVN] r48634 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 5 04:48:09 EDT 2011
Author: martinl
Date: 2011-10-05 01:48:09 -0700 (Wed, 05 Oct 2011)
New Revision: 48634
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: fix valid check
(merge r48632 from trunk)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-05 08:46:52 UTC (rev 48633)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-05 08:48:09 UTC (rev 48634)
@@ -1354,7 +1354,7 @@
# valid ?
valid = True
for p in params['params']:
- if p.get('required', 'no') != 'no' and \
+ if p.get('required', False) and \
p.get('value', '') == '' and \
p.get('default', '') == '':
valid = False
More information about the grass-commit
mailing list