From 9d6d342af184f641a1354c78ac9658a541b87c1b Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 16 Aug 2016 21:24:25 +0100 Subject: [PATCH] Add CallError to the permitted classes list. --- econtext/master.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/econtext/master.py b/econtext/master.py index 8f2c75da..c67ab396 100644 --- a/econtext/master.py +++ b/econtext/master.py @@ -160,7 +160,10 @@ class LocalStream(econtext.core.Stream): def __init__(self, context): super(LocalStream, self).__init__(context) - self._permitted_classes = set([('econtext.core', 'CallError')]) + self._permitted_classes = set([ + ('econtext.core', 'CallError'), + ('econtext.core', 'Dead'), + ]) def on_shutdown(self, broker): """Request the slave gracefully shut itself down."""