Commit d8d58ef8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

if tested_base_category_list is not passed in...

if tested_base_category_list is not passed in SolverTool.searchTargetSolverList(), no need to use [] instead of None, otherwise category matching does not work as expected.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36510 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32511a7f
......@@ -207,9 +207,6 @@ class SolverTool(TypeProvider):
"""
domain_tool = getToolByName(self.getPortalObject(), "portal_domains")
if tested_base_category_list is None:
tested_base_category_list = []
solver_list = domain_tool.searchPredicateList(
context=divergence_tester, portal_type='Solver Type',
tested_base_category_list=tested_base_category_list, **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