[GRASS-SVN] r56866 - grass/trunk/lib/python/pygrass/modules/interface
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 21 04:24:46 PDT 2013
Author: zarch
Date: 2013-06-21 04:24:46 -0700 (Fri, 21 Jun 2013)
New Revision: 56866
Modified:
grass/trunk/lib/python/pygrass/modules/interface/module.py
grass/trunk/lib/python/pygrass/modules/interface/read.py
Log:
Show the documentation of the special parameters available for the class Module
Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py 2013-06-21 09:42:45 UTC (rev 56865)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py 2013-06-21 11:24:46 UTC (rev 56866)
@@ -246,7 +246,7 @@
for line in izip_longest(*[iter(self.params_list)] * 3)]),)
params = '\n'.join([par.__doc__ for par in self.params_list])
flags = self.flags.__doc__
- return '\n'.join([head, params, DOC['flag_head'], flags])
+ return '\n'.join([head, params, DOC['flag_head'], flags, DOC['foot']])
def get_dict(self):
dic = {}
Modified: grass/trunk/lib/python/pygrass/modules/interface/read.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/read.py 2013-06-21 09:42:45 UTC (rev 56865)
+++ grass/trunk/lib/python/pygrass/modules/interface/read.py 2013-06-21 11:24:46 UTC (rev 56866)
@@ -94,6 +94,8 @@
finish_: True, optional
If True wait untill the end of the module execution, and store the module
outputs into stdout, stderr attributes of the class.
-stdin_: PIPE,
- Set the standard input
+stdin_: PIPE, optional
+ Set the standard input.
+env_: dictionary, optional
+ Set the evironment variables.
"""}
More information about the grass-commit
mailing list