Commit a7574a1a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove fallback default to make it possible to specify empty matching list.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32490 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 718255d5
...@@ -464,10 +464,6 @@ class Rule(Predicate, XMLObject): ...@@ -464,10 +464,6 @@ class Rule(Predicate, XMLObject):
if matching_property_list is None: if matching_property_list is None:
matching_property_list = self.getMatchingPropertyList() matching_property_list = self.getMatchingPropertyList()
if len(matching_property_list) == 0:
matching_property_list = ('resource',
'variation_category_list',
'variation_property_dict',)
for prevision in prevision_list: for prevision in prevision_list:
p_matched_list = [] p_matched_list = []
......
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