From d05398a834888c773215d507377321e138c7316d Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Thu, 24 Apr 2008 16:07:52 +0000 Subject: [PATCH] change a copy/past mistake and enhance the import error message by displaying the package name missing git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20805 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/OOoUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5OOo/OOoUtils.py b/product/ERP5OOo/OOoUtils.py index f8770bf1f2..980a4f3380 100644 --- a/product/ERP5OOo/OOoUtils.py +++ b/product/ERP5OOo/OOoUtils.py @@ -52,10 +52,10 @@ from OFS.Image import Pdata try: from Ft.Xml import Parse except ImportError: - LOG('XMLSyncUtils', INFO, "Can't import Parse") + LOG('OOoUtils', INFO, "Can't import Parse") class Parse: def __init__(self, *args, **kw): - raise ImportError, "Sorry, it was not possible to import Ft library" + raise ImportError, "Sorry, it was not possible to import Ft library, python2.4-4Suite-XML is not installed" class CorruptedOOoFile(Exception): pass -- 2.30.9