From ca8e2cf1f28ed0b01543bb321ac3776a18d3282b Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 14 Jan 2010 04:52:39 +0000 Subject: [PATCH] ERP5Type.Accessor.Category.Tester should not acquire, to be consistent with Base.Tester. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31740 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Accessor/Category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Accessor/Category.py b/product/ERP5Type/Accessor/Category.py index b5adf50c4d..682ffe70c9 100644 --- a/product/ERP5Type/Accessor/Category.py +++ b/product/ERP5Type/Accessor/Category.py @@ -219,5 +219,5 @@ class Tester(ListGetter): """Tests if the category is set. """ def __call__(self, instance, *args, **kw): - return bool(ListGetter.__call__(self, instance, *args, **kw)) + return bool(instance._getCategoryMembershipList(self._key, **kw)) -- 2.30.9