replace some forgotten is_abstract()

This commit is contained in:
Sebastien Bourdeauducq 2012-12-12 22:36:45 +01:00
parent a7227d7d2b
commit 28b4d99d31
1 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class DataFlowGraph(MultiDiGraph):
edges = self.in_edges(a, data=True) edges = self.in_edges(a, data=True)
assert(len(edges) == 1) assert(len(edges) == 1)
other, me, data = edges[0] other, me, data = edges[0]
if other.is_abstract(): if isinstance(other, AbstractActor):
continue continue
other_ep = data["source"] other_ep = data["source"]
if other_ep is None: if other_ep is None:
@ -163,7 +163,7 @@ class DataFlowGraph(MultiDiGraph):
edges = self.out_edges(a, data=True) edges = self.out_edges(a, data=True)
assert(len(edges) == 1) assert(len(edges) == 1)
me, other, data = edges[0] me, other, data = edges[0]
if other.is_abstract(): if isinstance(other, AbstractActor):
continue continue
other_ep = data["sink"] other_ep = data["sink"]
if other_ep is None: if other_ep is None: