Hi Sören, On Thu, Nov 27, 2014 at 11:38 AM, Sören Gebbert <soerengebb...@googlemail.com> wrote: > My solution would be to remove the function decorator code using the > most simple approach to add debug messages to the module interface: > > Instead of a function decorator we place this code snippet in the > function that should emit a debug message. > {{{ > from grass.pygrass.messages import get_msgr > get_msgr().debug(1, self.get_bash()) > }}} > > What do you think? > Pietro do you have any objections ... or does my approach does not > solve the problem?
No objections from my side. I'm going to remove the decorator. Pietro _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev