Kaydet (Commit) e1df15c4 authored tarafından Barry Warsaw's avatar Barry Warsaw

AddrlistClass -> AddressList

üst 8a8cdfd0
......@@ -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()
......
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