Commit 222d4ab4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

the condition was opposite in r32172.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32177 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e0f2f22
...@@ -181,7 +181,7 @@ class RuleMixin: ...@@ -181,7 +181,7 @@ class RuleMixin:
""" """
if exclude_quantity: if exclude_quantity:
return filter(lambda x:x.isDivergenceProvider() and \ return filter(lambda x:x.isDivergenceProvider() and \
'quantity' in x.getTestedPropertyList(), self.objectValues( 'quantity' not in x.getTestedPropertyList(), self.objectValues(
portal_type=self.getPortalDivergenceTesterTypeList())) portal_type=self.getPortalDivergenceTesterTypeList()))
else: else:
return filter(lambda x:x.isDivergenceProvider(), self.objectValues( return filter(lambda x:x.isDivergenceProvider(), self.objectValues(
......
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