diff options
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/controller.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crocoite/controller.py b/crocoite/controller.py index c646a61..bf0d852 100644 --- a/crocoite/controller.py +++ b/crocoite/controller.py @@ -50,18 +50,12 @@ class EventHandler: __slots__ = () - # this handler wants to know about exceptions before they are reraised by - # the controller - acceptException = False - def push (self, item): raise NotImplementedError () class StatsHandler (EventHandler): __slots__ = ('stats', ) - acceptException = True - def __init__ (self): self.stats = {'requests': 0, 'finished': 0, 'failed': 0, 'bytesRcv': 0} |