Commit 3bdf97c8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

getDivergenceList() should consider quantity's divergence tester, of course.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31218 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1bce0c3
...@@ -128,7 +128,8 @@ class RuleMixin: ...@@ -128,7 +128,8 @@ class RuleMixin:
or a list thereof or a list thereof
""" """
result_list = [] result_list = []
for divergence_tester in self._getDivergenceTesterList(): for divergence_tester in self._getDivergenceTesterList(
exclude_quantity=False):
result = divergence_tester.explain(movement) result = divergence_tester.explain(movement)
if isinstance(result, (list, tuple)): # for compatibility if isinstance(result, (list, tuple)): # for compatibility
result_list.extend(result) result_list.extend(result)
......
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