Commit 530e3181 authored by Łukasz Nowak's avatar Łukasz Nowak

Return expected object.

Callers to consistency checking are expecting _generateError result.
parent 04559ad2
No related merge requests found
......@@ -74,7 +74,8 @@ class AttributeEqualityConstraint(PropertyExistenceConstraint):
error = self._checkPropertyConsistency(obj, attribute_name)
if error:
return [error]
return [self._generateError(obj, self._getMessage(error),
dict(property_id=attribute_name))]
identical = True
......
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