From 2adbf07adbfa82381b3f0c83114ff5891c2aa8bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 16 Nov 2005 16:21:35 +0000
Subject: [PATCH] fix log error

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

diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py
index 7f301aba36..2969e094ba 100755
--- a/product/ERP5/Tool/TemplateTool.py
+++ b/product/ERP5/Tool/TemplateTool.py
@@ -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')
-- 
2.30.9