summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-04-12 20:50:05 (GMT)
committerBarry Warsaw <barry@python.org>2002-04-12 20:50:05 (GMT)
commite1df15c401efbcac2982ddf30919835cb25f87a7 (patch)
treebf73e0a53663b7a6402eb7b5aa339c26540adb12 /Lib/email
parent8a8cdfd0f5fac3f340881c9a993d1e2688ef6641 (diff)
downloadcpython-e1df15c401efbcac2982ddf30919835cb25f87a7.zip
cpython-e1df15c401efbcac2982ddf30919835cb25f87a7.tar.gz
cpython-e1df15c401efbcac2982ddf30919835cb25f87a7.tar.bz2
AddrlistClass -> AddressList
Diffstat (limited to 'Lib/email')
-rw-r--r--Lib/email/Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/Utils.py b/Lib/email/Utils.py
index 887be55..f8e48ef 100644
--- a/Lib/email/Utils.py
+++ b/Lib/email/Utils.py
@@ -14,7 +14,7 @@ from cStringIO import StringIO
from types import ListType
from rfc822 import unquote, quote
-from rfc822 import AddrlistClass as _AddrlistClass
+from rfc822 import AddressList as _AddressList
from rfc822 import mktime_tz
# We need wormarounds for bugs in these methods in older Pythons (see below)
@@ -96,7 +96,7 @@ def dump_address_pair(pair):
def getaddresses(fieldvalues):
"""Return a list of (REALNAME, EMAIL) for each fieldvalue."""
all = COMMASPACE.join(fieldvalues)
- a = _AddrlistClass(all)
+ a = _AddressList(all)
return a.getaddrlist()