diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py index 38540116285e88f95f650c8d1a470cea366bcdf8..413eee5cebfb4c5fc7c2cee3aaba03beadad4af5 100644 --- a/product/ERP5OOo/Document/OOoDocument.py +++ b/product/ERP5OOo/Document/OOoDocument.py @@ -42,7 +42,7 @@ from Products.ERP5Type.Message import Message from Products.ERP5Type.Cache import CachingMethod from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5.Document.File import File, stripHtml -from Products.ERP5.Document.Document import ConversionCacheMixin +from Products.ERP5.Document.Document import ConversionCacheMixin, ConversionError from Products.CMFCore.utils import getToolByName from Products.DCWorkflow.DCWorkflow import ValidationFailed @@ -52,9 +52,6 @@ dec=base64.decodestring _MARKER = [] -class ConversionError(Exception):pass - - class OOoDocument(File, ConversionCacheMixin): """ A file document able to convert OOo compatible files to