--- a/Graphics/GraphicsUtilities.py Fri Jan 01 16:11:36 2010 +0000 +++ b/Graphics/GraphicsUtilities.py Sat Jan 02 15:11:35 2010 +0000 @@ -42,7 +42,7 @@ stage.append(nodes[0]) taken.extend(stage) - nodes = filter(lambda x, l = stage: x not in l, nodes) + nodes = list(filter(lambda x, l = stage: x not in l, nodes)) while nodes: previousStageChildren = [] nodelen = len(nodes) @@ -73,7 +73,7 @@ stages.append(stage) taken.extend(stage) - nodes = filter(lambda x, l = stage: x not in l, nodes) + nodes = list(filter(lambda x, l = stage: x not in l, nodes)) if nodelen == len(nodes): if noRecursion: raise recursionError(nodes)