Changeset 62349


Ignore:
Timestamp:
Oct 22, 2014, 4:53:20 AM (10 years ago)
Author:
martinl
Message:

pygrass: Module.call() - print debug message

Location:
grass/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk

  • grass/trunk/lib/python/pygrass/modules/interface/module.py

    r61944 r62349  
    2020from grass.pygrass.modules.interface.typedict import TypeDict
    2121from grass.pygrass.modules.interface.read import GETFROMTAG, DOC
    22 
     22from grass.pygrass.messages import Messenger
    2323
    2424class ParallelModuleQueue(object):
     
    338338    """
    339339    def __init__(self, cmd, *args, **kargs):
     340        self._msgr = Messenger()
     341       
    340342        if isinstance(cmd, unicode):
    341343            self.name = str(cmd)
     
    417419        env_ and finish_.
    418420        """
     421        self._msgr.debug(1, "Module.__call__(): %s" % (self.get_bash()))
     422       
    419423        if not args and not kargs:
    420424            self.run()
    421425            return self
     426       
    422427        #
    423428        # check for extra kargs, set attribute and remove from dictionary
Note: See TracChangeset for help on using the changeset viewer.