[GRASS-SVN] r62351 - grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 22 05:32:42 PDT 2014


Author: martinl
Date: 2014-10-22 05:32:42 -0700 (Wed, 22 Oct 2014)
New Revision: 62351

Modified:
   grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
Log:
fix r62348 (print full cmd)


Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2014-10-22 12:31:46 UTC (rev 62350)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2014-10-22 12:32:42 UTC (rev 62351)
@@ -350,8 +350,6 @@
         self.__call__.__func__.__doc__ = self.__doc__
 
     def __call__(self, *args, **kargs):
-        self._msgr.debug(1, "Module.__call__(): %s" % (self.get_bash()))
-        
         if not args and not kargs:
             self.run()
             return
@@ -400,6 +398,11 @@
                 raise ParameterError('%s is not a valid parameter.' % key)
 
         #
+        # print debug message
+        #
+        self._msgr.debug(0, "Module.__call__(): %s" % (self.get_bash()))
+
+        #
         # check if execute
         #
         if self.run_:



More information about the grass-commit mailing list