Commit 4ef29015 authored by Jean-Paul Smets's avatar Jean-Paul Smets

LOGs commented out


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1175 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2bb9da85
...@@ -836,7 +836,7 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -836,7 +836,7 @@ 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.getSingleCategoryAcquiredMembershipList(context, my_acquisition_list = self.getSingleCategoryAcquiredMembershipList(context,
my_base_category, my_base_category,
portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(())), portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(())),
...@@ -848,8 +848,8 @@ class CategoryTool( UniqueObject, Folder, Base ): ...@@ -848,8 +848,8 @@ class CategoryTool( UniqueObject, Folder, Base ):
my_acquisition_object_list.append(o) my_acquisition_object_list.append(o)
#my_acquisition_object_list = context.getValueList(my_base_category, #my_acquisition_object_list = context.getValueList(my_base_category,
# portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(()))) # portal_type=tuple(base_category_value.getAcquisitionPortalTypeList(())))
LOG("Get Acquired PT",0,str(base_category_value.getAcquisitionPortalTypeList(()))) #LOG("Get Acquired PT",0,str(base_category_value.getAcquisitionPortalTypeList(())))
LOG("Object List ",0,str(my_acquisition_object_list)) #LOG("Object List ",0,str(my_acquisition_object_list))
original_result = result original_result = result
result = list(result) # make a copy result = list(result) # make a copy
for my_acquisition_object in my_acquisition_object_list: for my_acquisition_object in my_acquisition_object_list:
......
...@@ -126,9 +126,9 @@ class Renderer(Filter): ...@@ -126,9 +126,9 @@ class Renderer(Filter):
#LOG('render', 0, repr(self.filter)) #LOG('render', 0, repr(self.filter))
#LOG('render', 10, repr(value_list)) #LOG('render', 10, repr(value_list))
value_list = self.getObjectList(value_list) value_list = self.getObjectList(value_list)
LOG('render', 5, repr(value_list)) #LOG('render', 5, repr(value_list))
value_list = self.filter(value_list) value_list = self.filter(value_list)
LOG('render', 10, repr(value_list)) #LOG('render', 10, repr(value_list))
if self.sort_method is not None: if self.sort_method is not None:
value_list.sort(self.sort_method) value_list.sort(self.sort_method)
elif self.sort_id is not None: elif self.sort_id is not None:
......
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