[GRASS-SVN] r62350 - grass/trunk/lib/python/pygrass/modules/interface

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 22 05:31:46 PDT 2014


Author: martinl
Date: 2014-10-22 05:31:46 -0700 (Wed, 22 Oct 2014)
New Revision: 62350

Modified:
   grass/trunk/lib/python/pygrass/modules/interface/module.py
Log:
fix r62349 (print full cmd)


Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py	2014-10-22 11:53:20 UTC (rev 62349)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py	2014-10-22 12:31:46 UTC (rev 62350)
@@ -418,8 +418,6 @@
         plus some extra parameters that are: run_, stdin_, stdout_, stderr_,
         env_ and finish_.
         """
-        self._msgr.debug(1, "Module.__call__(): %s" % (self.get_bash()))
-        
         if not args and not kargs:
             self.run()
             return self
@@ -460,6 +458,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