[Erp5-report] r31740 kazuhiko - /erp5/trunk/products/ERP5Type/Accessor/Category.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 14 05:52:40 CET 2010


Author: kazuhiko
Date: Thu Jan 14 05:52:39 2010
New Revision: 31740

URL: http://svn.erp5.org?rev=31740&view=rev
Log:
ERP5Type.Accessor.Category.Tester should not acquire, to be consistent with Base.Tester.

Modified:
    erp5/trunk/products/ERP5Type/Accessor/Category.py

Modified: erp5/trunk/products/ERP5Type/Accessor/Category.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Accessor/Category.py?rev=31740&r1=31739&r2=31740&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Accessor/Category.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Accessor/Category.py [utf8] Thu Jan 14 05:52:39 2010
@@ -219,5 +219,5 @@
   """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))
+




More information about the Erp5-report mailing list