Commit 976078df authored by Jérome Perrin's avatar Jérome Perrin

this code was replacing _identity_criterion with a dict


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44339 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b225654
......@@ -451,8 +451,8 @@ class Predicate(XMLObject):
self._range_criterion = PersistentMapping()
if 'criterion_property_list' in kwd:
criterion_property_list = kwd['criterion_property_list']
identity_criterion = {}
range_criterion = {}
identity_criterion = PersistentMapping()
range_criterion = PersistentMapping()
for criterion in self._identity_criterion.iterkeys() :
if criterion in criterion_property_list :
identity_criterion[criterion] = self._identity_criterion[criterion]
......
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