- fix: provide valid callback to update()
supcon.intf.Implementation.__init__(self, EventCacheIntf)
self.__local = local
supcon.intf.Implementation.__init__(self, EventCacheIntf)
self.__local = local
- self.__store = store([])
+ self.__store = store(())
self.__maxEvents = maxEvents
self.__watches = {}
self.__maxEvents = maxEvents
self.__watches = {}
if outArgs['first'] > self.__store.value:
amount = outArgs['first'] - self.__store.value
if outArgs['first'] > self.__store.value:
amount = outArgs['first'] - self.__store.value
- self.__store.update((outArgs['first']).__add__(0))
+ self.__store.update(lambda v: outArgs['first'])
self._emit('missing', amount=amount)
for number, path, intf, event, args in outArgs['events']:
self._emit('missing', amount=amount)
for number, path, intf, event, args in outArgs['events']: