Commit d550c7de authored by Jean-Paul Smets's avatar Jean-Paul Smets

*** empty log message ***


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@817 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f85c9689
...@@ -754,8 +754,8 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -754,8 +754,8 @@ class CategoryTool( UniqueObject, Folder, Base ):
spec = [spec] spec = [spec]
if acquired_object_dict is None: if acquired_object_dict is None:
acquired_object_dict = {} acquired_object_dict = {} # Initial call may include filter, etc. - do not keep
else:
context_base_key = (tuple(context.getPhysicalPath()), base_category) context_base_key = (tuple(context.getPhysicalPath()), base_category)
if context_base_key in acquired_object_dict: if context_base_key in acquired_object_dict:
type_dict = acquired_object_dict[context_base_key] type_dict = acquired_object_dict[context_base_key]
...@@ -833,8 +833,8 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -833,8 +833,8 @@ class CategoryTool( UniqueObject, Folder, Base ):
#else: #else:
# my_acquisition_object_list = [] # my_acquisition_object_list = []
else: else:
#LOG('getAcquiredCategoryMembershipList', 0, 'my_acquisition_object = %s, acquired_object_dict = %s' % (str(context), str(acquired_object_dict))) LOG('getAcquiredCategoryMembershipList', 0, 'my_acquisition_object = %s, acquired_object_dict = %s' % (str(context), str(acquired_object_dict)))
my_acquisition_list = self.getAcquiredCategoryMembershipList(context, my_acquisition_list = self.getSingleAcquiredCategoryMembershipList(context,
my_base_category, my_base_category,
portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(())), portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(())),
acquired_object_dict=acquired_object_dict) acquired_object_dict=acquired_object_dict)
......
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