Commit e490f7e2 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Disable excessive LOG calls.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3513 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d1fa3a43
......@@ -148,16 +148,16 @@ class DomainTool(BaseTool):
if kw.has_key('src__') and kw['src__']:
return sql_result_list
result_list = []
LOG('searchPredicateList, result_list before test',0,[x.getObject() for x in sql_result_list])
#LOG('searchPredicateList, result_list before test',0,[x.getObject() for x in sql_result_list])
for predicate in [x.getObject() for x in sql_result_list]:
if test==0 or predicate.test(context):
result_list.append(predicate)
LOG('searchPredicateList, result_list before sort',0,result_list)
#LOG('searchPredicateList, result_list before sort',0,result_list)
if filter_method is not None:
result_list = filter_method(result_list)
if sort_method is not None:
result_list.sort(sort_method)
LOG('searchPredicateList, result_list after sort',0,result_list)
#LOG('searchPredicateList, result_list after sort',0,result_list)
return result_list
security.declarePublic('generateMappedValue')
......
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