(self)
Shut down the module cleanly
Shut down the module cleanly
Shut down the module cleanly
def shutdown(self):
        """ Shut down the module cleanly
        """
        util.Msg('Shutting \'%s\' down..' % self.which)

        if self.running:
            self.running = False
        if self.log_data:
            self.log(False)

        util.Msg("%s shutdown." % self.which)
        util.debug('%s shutdown.' % self.which)
def shutdown ( self ) : util . Msg ( 'Shutting \'%s\' down..' % self . which ) if self . running : self . running = False if self . log_data : self . log ( False ) util . Msg ( "%s shutdown." % self . which ) util . debug ( '%s shutdown.' % self . which )