[GRASS-SVN] r72367 - grass/trunk/lib/python/pygrass/modules/interface
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 16 00:20:49 PDT 2018
Author: zarch
Date: 2018-03-16 00:20:49 -0700 (Fri, 16 Mar 2018)
New Revision: 72367
Modified:
grass/trunk/lib/python/pygrass/modules/interface/module.py
Log:
pygrass: add Module support to underscore in parameter's name
Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py 2018-03-14 19:22:13 UTC (rev 72366)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py 2018-03-16 07:20:49 UTC (rev 72367)
@@ -625,6 +625,7 @@
for param, arg in zip(self.params_list, args):
param.value = arg
for key, val in kargs.items():
+ key = key.strip('_')
if key in self.inputs:
self.inputs[key].value = val
elif key in self.outputs:
More information about the grass-commit
mailing list