From 11725f1c909671ac638f6ca3d07a669f341fe441 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Thu, 6 Aug 2009 14:07:19 +0530 Subject: [PATCH] [FIX] Error reporting : library error corrected lp bug: https://launchpad.net/bugs/409709 fixed bzr revid: jvo@tinyerp.com-20090806083719-ah26qhi3ax9e7koa --- bin/tools/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/convert.py b/bin/tools/convert.py index 614e271061e..71e44655154 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -876,7 +876,7 @@ def convert_xml_import(cr, module, xmlfile, idref=None, mode='init', noupdate=Fa except Exception, e: logger = netsvc.Logger() logger.notifyChannel('init', netsvc.LOG_ERROR, 'The XML file does not fit the required schema !') - logger.notifyChannel('init', netsvc.LOG_ERROR, tools.ustr(relaxng.error_log.last_error)) + logger.notifyChannel('init', netsvc.LOG_ERROR, misc.ustr(relaxng.error_log.last_error)) raise if idref is None: