From 01a652cd05545596b2553dca37de9c6ef5a056d0 Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sun, 22 Oct 2017 18:08:03 +0200 Subject: [PATCH] Remove dispatcher as it is not a dependency, for now, and as such breaks the continuous integration. --- bonobo/execution/graph.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bonobo/execution/graph.py b/bonobo/execution/graph.py index 33e77bc..77e01fa 100644 --- a/bonobo/execution/graph.py +++ b/bonobo/execution/graph.py @@ -5,7 +5,6 @@ from bonobo.config import create_container from bonobo.constants import BEGIN, END from bonobo.execution.node import NodeExecutionContext from bonobo.execution.plugin import PluginExecutionContext -from whistle import EventDispatcher class GraphExecutionContext: @@ -24,14 +23,6 @@ class GraphExecutionContext: def alive(self): return any(node.alive for node in self.nodes) - @property - def dispatcher(self): - try: - return self._dispatcher - except AttributeError: - self._dispatcher = EventDispatcher() - return self._dispatcher - def __init__(self, graph, plugins=None, services=None): self.graph = graph self.nodes = [self.create_node_execution_context_for(node) for node in self.graph]