# HG changeset patch # User Sylvain Thénault # Date 1254907974 -7200 # Node ID 385d013c7adbd8a4c07bf3d9ba3e953feefd3afd # Parent 7f026d15cc8254689d27bdeb29f15a973711b31f [entity] must not define __iter__ or other method from the dict protocal since entities are inheriting from dict (and expecting such behaviour) diff -r 7f026d15cc82 -r 385d013c7adb common/mixins.py --- a/common/mixins.py Tue Oct 06 18:17:11 2009 +0200 +++ b/common/mixins.py Wed Oct 07 11:32:54 2009 +0200 @@ -144,9 +144,6 @@ def children_rql(self): return self.related_rql(self.tree_attribute, self.children_target) - def __iter__(self): - return self.iterchildren() - def is_leaf(self): return len(self.children()) == 0