From 0e176f24e93f02a266470d1a8924f020a3e2ddd5 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 21 Dec 2018 21:02:45 +0100 Subject: Remove unused EventHandler property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Crash detection was moved into -recursive’s return code checking a while ago. --- crocoite/controller.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crocoite') 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} -- cgit v1.2.3