|
@@ -293,14 +293,8 @@ class ModelverseState(object):
|
|
|
# And access its value
|
|
|
if target in self.values and self.values[target] == value:
|
|
|
# Found a match
|
|
|
- if len(self.outgoing[e1]) > 1:
|
|
|
- return None
|
|
|
- else:
|
|
|
- matches.append(e1)
|
|
|
- if len(matches) == 0:
|
|
|
- return None
|
|
|
- else:
|
|
|
- return [self.edges[e][0] for e in matches]
|
|
|
+ matches.append(e1)
|
|
|
+ return [self.edges[e][0] for e in matches]
|
|
|
|
|
|
def delete_node(self, node):
|
|
|
if node == self.root:
|