diff --git a/alarmdecoder/event/event.py b/alarmdecoder/event/event.py index 6200fa8..0086cbb 100644 --- a/alarmdecoder/event/event.py +++ b/alarmdecoder/event/event.py @@ -31,6 +31,9 @@ class EventHandler(object): self.event = event self.obj = obj + def __iter__(self): + return iter(self._getfunctionlist()) + def _getfunctionlist(self): """(internal use) """