Add CallError to the permitted classes list.
This commit is contained in:
parent
3de06ca559
commit
9d6d342af1
|
@ -160,7 +160,10 @@ class LocalStream(econtext.core.Stream):
|
||||||
|
|
||||||
def __init__(self, context):
|
def __init__(self, context):
|
||||||
super(LocalStream, self).__init__(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):
|
def on_shutdown(self, broker):
|
||||||
"""Request the slave gracefully shut itself down."""
|
"""Request the slave gracefully shut itself down."""
|
||||||
|
|
Loading…
Reference in New Issue