Commit ecf74854 authored by Julien Muchembled's avatar Julien Muchembled

Revert wrong optimization in Predicate.test

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45f25225
......@@ -175,8 +175,6 @@ class Predicate(XMLObject):
tested_base_category[bc] = tested_base_category[bc] or \
context.isMemberOf(c,
strict_membership=strict_membership)
if tested_base_category.get(bc, 1) == 0:
break
finally:
if not enabled:
disableReadOnlyTransactionCache(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment