diff -r d39dd5cee0c8 -r 1a879f9af1c0 Graphics/GraphicsUtilities.py --- a/Graphics/GraphicsUtilities.py Sun Sep 04 17:16:38 2016 +0200 +++ b/Graphics/GraphicsUtilities.py Sun Sep 04 17:27:43 2016 +0200 @@ -48,7 +48,7 @@ stage.append(nodes[0]) taken.extend(stage) - nodes = list(filter(lambda x, l=stage: x not in l, nodes)) + nodes = list(filter(lambda x, li=stage: x not in li, nodes)) while nodes: previousStageChildren = [] nodelen = len(nodes) @@ -80,7 +80,7 @@ stages.append(stage) taken.extend(stage) - nodes = list(filter(lambda x, l=stage: x not in l, nodes)) + nodes = list(filter(lambda x, li=stage: x not in li, nodes)) if nodelen == len(nodes): if noRecursion: raise RecursionError(nodes)