From 0f4c44b372d51fa1f02cecf0f2475b368b70c33b Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Tue, 5 Apr 2011 15:14:19 +0000 Subject: [PATCH] temporarily revert r45046 as it is causing unit_test breakages git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45099 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/RuleTool.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5/Tool/RuleTool.py b/product/ERP5/Tool/RuleTool.py index 8e433768a2..33c075b5a7 100644 --- a/product/ERP5/Tool/RuleTool.py +++ b/product/ERP5/Tool/RuleTool.py @@ -98,6 +98,9 @@ class RuleTool(BaseTool): """ domain_tool = getToolByName(self.getPortalObject(), "portal_domains") + if tested_base_category_list is None: + tested_base_category_list = [] + rule_list = domain_tool.searchPredicateList(context=movement, tested_base_category_list=tested_base_category_list, portal_type=self.getPortalRuleTypeList(), -- 2.30.9