Commit 39405717 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

matching works fine without any matcher if there is only one prevision movement.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33401 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ecc1552
...@@ -72,7 +72,7 @@ class MovementCollectionUpdaterMixin: ...@@ -72,7 +72,7 @@ class MovementCollectionUpdaterMixin:
# Get divergence testers # Get divergence testers
tester_list = self._getMatchingTesterList() tester_list = self._getMatchingTesterList()
if len(tester_list) == 0: if len(tester_list) == 0 and len(prevision_movement_list) > 2:
raise ValueError("It is not possible to match movements without divergence testers") raise ValueError("It is not possible to match movements without divergence testers")
# Create small groups of movements per hash keys # Create small groups of movements per hash keys
......
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