From ecf74854bc78fc8664f010d2014e863b388dfaf1 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Thu, 3 Jun 2010 21:58:11 +0000 Subject: [PATCH] Revert wrong optimization in Predicate.test git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35970 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Predicate.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/product/ERP5/Document/Predicate.py b/product/ERP5/Document/Predicate.py index 5965070b73..20cfbf22ca 100644 --- a/product/ERP5/Document/Predicate.py +++ b/product/ERP5/Document/Predicate.py @@ -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) -- 2.30.9