def set_inhibit(self, inhibit):
        """Set inhibition state"""
        if self._pid and inhibit != self._inhibited:
            os.kill(self._pid, signal.SIGUSR1)
            self._inhibited = inhibit
def set_inhibit ( self , inhibit ) : if self . _pid and inhibit != self . _inhibited : os . kill ( self . _pid , signal . SIGUSR1 ) self . _inhibited = inhibit
Set inhibition state