Fix import error on python 3

"from email.utils import parseaddr, collapse_rfc2231_value" works both for python 2.7 and python 3
This commit is contained in:
Gleber Diniz 2016-06-14 17:10:23 -03:00 committed by GitHub
parent 0837643c17
commit f8044faf28

View File

@ -20,7 +20,7 @@ import socket
from datetime import timedelta from datetime import timedelta
from email.header import decode_header from email.header import decode_header
from email.Utils import parseaddr, collapse_rfc2231_value from email.utils import parseaddr, collapse_rfc2231_value
from optparse import make_option from optparse import make_option
from email_reply_parser import EmailReplyParser from email_reply_parser import EmailReplyParser