simplify/viewer.py | raw changeset files shortlog |
1.1 --- a/simplify/viewer.py Mon Jul 30 00:35:54 2007 +0200 1.2 +++ b/simplify/viewer.py Tue Jul 31 01:05:24 2007 +0200 1.3 @@ -1150,10 +1150,10 @@ 1.4 return self._invocations(_node.active()) 1.5 1.6 def _invocations(self, nodes): 1.7 - invocations = [] 1.8 + invocations = set() 1.9 for node in nodes: 1.10 if hasattr(node, "invocations"): 1.11 - invocations += node.invocations 1.12 + invocations.update(node.invocations) 1.13 1.14 # Record each link, avoiding duplicates. 1.15