[GRASS-SVN] r58622 - grass/trunk/lib/python/pygrass

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 6 09:28:05 PST 2014


Author: zarch
Date: 2014-01-06 09:28:05 -0800 (Mon, 06 Jan 2014)
New Revision: 58622

Modified:
   grass/trunk/lib/python/pygrass/errors.py
Log:
Not hide the docstring of the decorate methods

Modified: grass/trunk/lib/python/pygrass/errors.py
===================================================================
--- grass/trunk/lib/python/pygrass/errors.py	2014-01-05 23:55:56 UTC (rev 58621)
+++ grass/trunk/lib/python/pygrass/errors.py	2014-01-06 17:28:05 UTC (rev 58622)
@@ -42,4 +42,5 @@
             return method(self, *args, **kargs)
         else:
             warning(_("The map is close!"))
+    wrapper.__doc__ = method.__doc__
     return wrapper



More information about the grass-commit mailing list