summaryrefslogtreecommitdiffstats
path: root/Lib/email/Utils.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-11-05 19:54:52 (GMT)
committerBarry Warsaw <barry@python.org>2002-11-05 19:54:52 (GMT)
commit030ddf794f32be9ce4b7382fe218c1d6db812866 (patch)
tree1473db6da7fa74bb05c77893fa59847d52f0a329 /Lib/email/Utils.py
parent7d7930bb3fdb16e3a041a983717cffdd142ea8cf (diff)
downloadcpython-030ddf794f32be9ce4b7382fe218c1d6db812866.zip
cpython-030ddf794f32be9ce4b7382fe218c1d6db812866.tar.gz
cpython-030ddf794f32be9ce4b7382fe218c1d6db812866.tar.bz2
Jason Mastaler's patch to break the dependence on rfc822.py for the
address parsing routines. Closes SF patch #613434.
Diffstat (limited to 'Lib/email/Utils.py')
-rw-r--r--Lib/email/Utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/email/Utils.py b/Lib/email/Utils.py
index b619c6b..4b5394d 100644
--- a/Lib/email/Utils.py
+++ b/Lib/email/Utils.py
@@ -13,13 +13,13 @@ import warnings
from cStringIO import StringIO
from types import ListType
-from rfc822 import quote
-from rfc822 import AddressList as _AddressList
-from rfc822 import mktime_tz
+from email._parseaddr import quote
+from email._parseaddr import AddressList as _AddressList
+from email._parseaddr import mktime_tz
# We need wormarounds for bugs in these methods in older Pythons (see below)
-from rfc822 import parsedate as _parsedate
-from rfc822 import parsedate_tz as _parsedate_tz
+from email._parseaddr import parsedate as _parsedate
+from email._parseaddr import parsedate_tz as _parsedate_tz
try:
True, False