Commit d5f32ceb authored by Aurel's avatar Aurel

again make message more understandable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37925 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5813fc2f
...@@ -113,7 +113,7 @@ def checkConsistency(self, fixit=0, source_code=None): ...@@ -113,7 +113,7 @@ def checkConsistency(self, fixit=0, source_code=None):
if source_code.find(legacy_string) >= 0: if source_code.find(legacy_string) >= 0:
message_list.append( message_list.append(
ObjectMessage(object_relative_url='/'.join(self.getPhysicalPath())[portal_path_len:], ObjectMessage(object_relative_url='/'.join(self.getPhysicalPath())[portal_path_len:],
message='Source code contains legacy call to %s' % legacy_string)) message='Source code of %s contains legacy call to %s' % (document_id, legacy_string)))
return message_list return message_list
......
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