Commit 10c674e7 authored by Romain Courteaud's avatar Romain Courteaud

mktime_tz function is from email library.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22969 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be69ea63
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
import re, types import re, types
from DateTime import DateTime from DateTime import DateTime
from time import mktime_tz
from Globals import get_request from Globals import get_request
from AccessControl import ClassSecurityInfo, Unauthorized from AccessControl import ClassSecurityInfo, Unauthorized
from Products.ERP5Type.Base import WorkflowMethod from Products.ERP5Type.Base import WorkflowMethod
...@@ -58,7 +57,7 @@ except ImportError: ...@@ -58,7 +57,7 @@ except ImportError:
from email import message_from_string from email import message_from_string
from email.Header import decode_header from email.Header import decode_header
from email.Utils import parsedate_tz from email.Utils import parsedate_tz, mktime_tz
DEFAULT_TEXT_FORMAT = 'text/html' DEFAULT_TEXT_FORMAT = 'text/html'
COMMASPACE = ', ' COMMASPACE = ', '
......
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