Commit cfb0d261 authored by Aurel's avatar Aurel

make message more understandable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37923 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2119b6b2
......@@ -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:
......
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