This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
alarmdecoder
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Added support for iterating over event handlers.
pyserial_fix
Scott Petersen
10 years ago
parent
2dbf706456
commit
41c7258008
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
alarmdecoder/event/event.py
+ 3
- 0
alarmdecoder/event/event.py
View File
@@ -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) """
Write
Preview
Loading…
Cancel
Save