# HG changeset patch # User KarstenBock@gmx.net # Date 1316614266 -7200 # Node ID 58d58bf2e5679e37d7691871e3b434e1c9397f66 # Parent e856b604b650e9a3b3d9ca98067a8e27e0b85ebd Fixed syntax error in container.py. diff -r e856b604b650 -r 58d58bf2e567 components/container.py --- a/components/container.py Wed Sep 21 16:10:14 2011 +0200 +++ b/components/container.py Wed Sep 21 16:11:06 2011 +0200 @@ -71,7 +71,7 @@ return container.children[slot_or_type] else: for item in container.children: - if child and if child.type == slot_or_type: + if child and child.type == slot_or_type: return child return None @@ -86,7 +86,7 @@ item.slot = -1 else: for item in container.children: - if child and if child.type == slot_or_type: + if child and child.type == slot_or_type: container.children[child.slot] = None child.container = None child.slot = -1