Commit 8f117aa4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

r.25402 is wrong. Document classes cannot be imported here.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25404 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 31138ed2
......@@ -31,8 +31,6 @@ from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions
from Products.ERP5 import _dtmldir
from Products.ERP5.Document.Document import ConversionError
from Products.ERP5.Document.EmailDocument import MimeTypeException
from mimetypes import guess_type
from email.MIMEMultipart import MIMEMultipart
......@@ -43,6 +41,8 @@ from email.MIMEImage import MIMEImage
from email.Header import make_header
from email import Encoders
class ConversionError(Exception): pass
class MimeTypeException(Exception): pass
def buildAttachmentDictList(document_list, document_type_list=()):
"""return a list of dictionary which will be used by buildEmailMessage"""
......
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