Commit 14f6cdc0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix syntax error.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31330 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 01367a7d
...@@ -317,7 +317,8 @@ class RuleMixin: ...@@ -317,7 +317,8 @@ class RuleMixin:
quantity divergence testers quantity divergence testers
""" """
if exclude_quantity: if exclude_quantity:
return filter(lambda x:x.isTestingProvider() and \ # XXX-JPS name too generic - is it for divergence ? for somehting else ? # XXX-JPS name too generic - is it for divergence ? for somehting else ?
return filter(lambda x:x.isTestingProvider() and \
x.getTestedProperty() != 'quantity', self.objectValues( x.getTestedProperty() != 'quantity', self.objectValues(
portal_type=self.getPortalDivergenceTesterTypeList())) portal_type=self.getPortalDivergenceTesterTypeList()))
else: else:
......
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