Commit d05398a8 authored by Fabien Morin's avatar Fabien Morin

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
parent 104db7f1
...@@ -52,10 +52,10 @@ from OFS.Image import Pdata ...@@ -52,10 +52,10 @@ from OFS.Image import Pdata
try: try:
from Ft.Xml import Parse from Ft.Xml import Parse
except ImportError: except ImportError:
LOG('XMLSyncUtils', INFO, "Can't import Parse") LOG('OOoUtils', INFO, "Can't import Parse")
class Parse: class Parse:
def __init__(self, *args, **kw): 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 class CorruptedOOoFile(Exception): pass
......
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