From 6bf9fff10022569df4a445b5a1c296aea9371bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 11 Dec 2007 15:23:57 +0000 Subject: [PATCH] simply call superclass constructor in __init__ git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18240 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/ConsistencyMessage.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/product/ERP5Type/ConsistencyMessage.py b/product/ERP5Type/ConsistencyMessage.py index 09384cf03c..0b1ef91e19 100644 --- a/product/ERP5Type/ConsistencyMessage.py +++ b/product/ERP5Type/ConsistencyMessage.py @@ -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) -- 2.30.9