def disableDeviceNotification(self, dev_id): sc = SCODCache() return sc.add_to_ddn(self._dbus_array_to_list(dev_id))
def enableDeviceNotification(self, dev_id): sc = SCODCache() return sc.del_from_ddn(dev_id)
def _init_cache(self): sc = SCODCache() self.disabled_devices = sc.read_ddn()