Commit ca8e2cf1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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
parent 05a5f250
......@@ -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))
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