Commit 6bf9fff1 authored by Jérome Perrin's avatar Jérome Perrin

simply call superclass constructor in __init__


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18240 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f31268c
......@@ -38,9 +38,7 @@ class ConsistencyMessage(ObjectMessage):
"""
init specific variable to constraint
"""
self.object_relative_url = object_relative_url
self.message = message
self.mapping = mapping
ObjectMessage.__init__(self, object_relative_url, message, mapping)
self.description = constraint.description
self.class_name = constraint.__class__.__name__
self.__dict__.update(kw)
......
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