From 41d2eceede99ae860b73c989504e0843ed09b9d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 6 Mar 2012 09:58:25 +0100
Subject: [PATCH] Cleanup emitted messages.

---
 product/ERP5Type/Constraint/PropertyTypeValidity.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/Constraint/PropertyTypeValidity.py b/product/ERP5Type/Constraint/PropertyTypeValidity.py
index 864974d0ce..a9745aab0d 100644
--- a/product/ERP5Type/Constraint/PropertyTypeValidity.py
+++ b/product/ERP5Type/Constraint/PropertyTypeValidity.py
@@ -62,7 +62,8 @@ class PropertyTypeValidity(Constraint):
   _message_id_list = [ 'message_unknown_type',
                        'message_incorrect_type',
                        'message_incorrect_type_fix_failed',
-                       'message_incorrect_type_fixed']
+                       'message_incorrect_type_fixed',
+                       'message_local_property_migrated']
 
   message_unknown_type = "Attribute ${attribute_name} is defined with"\
                          " an unknown type ${type_name}"
@@ -74,7 +75,6 @@ class PropertyTypeValidity(Constraint):
   message_incorrect_type_fixed = "Attribute ${attribute_name}"\
     " should be of type ${expected_type} but is of type ${actual_type} (Fixed)"
   message_local_property_migrated = "Property ${property_id} was migrated from local properties."
-  message_local_property_modified = "Property ${property_id} was modified from ${old_value} to ${new_value}."
 
   def _checkConsistency(self, obj, fixit=0):
     """Check the object's consistency.
-- 
2.30.9