Commit e7cd1805 authored by Jérome Perrin's avatar Jérome Perrin

backward compatibility for zope 2.7


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21233 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f7b44646
......@@ -9,7 +9,10 @@ from email import Encoders
from email.MIMEBase import MIMEBase
from email.MIMEMultipart import MIMEMultipart
from Globals import InitializeClass
from zope.app.content_types import guess_content_type
try:
from zope.app.content_types import guess_content_type
except ImportError:
from OFS.content_types import guess_content_type # Zope 2.7
from OFS.Image import File
from ZPublisher.HTTPRequest import FileUpload
......
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