Commit 2adbf07a authored by Aurel's avatar Aurel

fix log error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4345 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4f988829
......@@ -356,7 +356,7 @@ class TemplateTool (BaseTool):
installed_bt = self.getInstalledBusinessTemplate(title=bt1.getTitle())
if installed_bt is None:
raise NotFound, 'Installed business template with title %s not found' %(bt1.getTitle(),)
LOG('compare to installed bt', 0, str((bt2.getTitle(), bt2.getId())))
LOG('compare to installed bt', 0, str((installed_bt.getTitle(), installed_bt.getId())))
# get a copy of the installed bt
bt2 = self.manage_clone(ob=installed_bt, id='installed_bt')
bt2.edit(description='tmp bt generated for diff')
......
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