summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-12-21 21:02:45 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-12-21 21:02:45 +0100
commit0e176f24e93f02a266470d1a8924f020a3e2ddd5 (patch)
tree31b8547641e8641eaf58428d1a52f8eff4c94505 /crocoite
parentdd2f667542ba9ebe34f304f328e7d4fd621ce57a (diff)
downloadcrocoite-0e176f24e93f02a266470d1a8924f020a3e2ddd5.tar.gz
crocoite-0e176f24e93f02a266470d1a8924f020a3e2ddd5.tar.bz2
crocoite-0e176f24e93f02a266470d1a8924f020a3e2ddd5.zip
Remove unused EventHandler property
Crash detection was moved into -recursive’s return code checking a while ago.
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/controller.py6
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}