From cfb0d261719c385048fdc314f3426c0f3f86afc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 20 Aug 2010 08:08:53 +0000
Subject: [PATCH] make message more understandable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37923 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/CodingStyle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Type/CodingStyle.py b/product/ERP5Type/CodingStyle.py
index 23d892a9d3..3b21434d14 100644
--- a/product/ERP5Type/CodingStyle.py
+++ b/product/ERP5Type/CodingStyle.py
@@ -105,7 +105,7 @@ def checkConsistency(self, fixit=0, source_code=None):
     if prefix not in getSkinPrefixList(self):
       message_list.append(
         ObjectMessage(object_relative_url='/'.join(self.getPhysicalPath())[portal_path_len:],
-                      message='Wrong prefix %s' % prefix))
+                      message='Wrong prefix %s for python script %s' % (prefix, document_id)))
 
   # Make sure source code does not contain legacy callables
   if source_code:
-- 
2.30.9