def deactivate(self):
    self.log.debug(("Deactivating callback '%s'.." % self._name))
    if self.is_active():
        self._uninstaller(self._id)
    self._id = None
def deactivate(self):
    self.log.debug(("Deactivating callback '%s'.." % self._name))
    if self.is_active():
        self._uninstaller(self._id)
    self._id = None