[GRASS-SVN] r61162 - grass/trunk/lib/python/pygrass/modules/interface
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 7 03:00:11 PDT 2014
Author: zarch
Date: 2014-07-07 03:00:11 -0700 (Mon, 07 Jul 2014)
New Revision: 61162
Modified:
grass/trunk/lib/python/pygrass/modules/interface/read.py
Log:
pygrass: Add parameter tag: guidependency
Modified: grass/trunk/lib/python/pygrass/modules/interface/read.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/read.py 2014-07-07 09:03:30 UTC (rev 61161)
+++ grass/trunk/lib/python/pygrass/modules/interface/read.py 2014-07-07 10:00:11 UTC (rev 61162)
@@ -11,7 +11,6 @@
def read_keydesc(par):
name = par.text.strip()
items = [e.text.strip() for e in par.findall('item')]
- #import ipdb; ipdb.set_trace()
return name, tuple(items) if len(items) > 1 else None
@@ -36,6 +35,7 @@
'label': lambda p: p.text.strip(),
'suppress_required': lambda p: None,
'keywords': lambda p: p.text.strip(),
+ 'guidependency': lambda p: p.text.strip(),
}
GETTYPE = {
More information about the grass-commit
mailing list