[GRASS-SVN] r60567 - grass/trunk/lib/python/pygrass/modules/interface
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 28 14:51:40 PDT 2014
Author: neteler
Date: 2014-05-28 14:51:40 -0700 (Wed, 28 May 2014)
New Revision: 60567
Modified:
grass/trunk/lib/python/pygrass/modules/interface/module.py
Log:
pygrass: fix error message
Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py 2014-05-28 21:43:24 UTC (rev 60566)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py 2014-05-28 21:51:40 UTC (rev 60567)
@@ -373,7 +373,7 @@
if ((k in self.inputs and self.inputs[k].value is None) or
(k in self.outputs and self.outputs[k].value is None)):
msg = "Required parameter <%s> not set."
- raise ParameterError(msg % key)
+ raise ParameterError(msg % k)
return self.run()
More information about the grass-commit
mailing list