Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a8cdfd commit e1df15cCopy full SHA for e1df15c
1 file changed
Lib/email/Utils.py
@@ -14,7 +14,7 @@
14
from types import ListType
15
16
from rfc822 import unquote, quote
17
-from rfc822 import AddrlistClass as _AddrlistClass
+from rfc822 import AddressList as _AddressList
18
from rfc822 import mktime_tz
19
20
# We need wormarounds for bugs in these methods in older Pythons (see below)
@@ -96,7 +96,7 @@ def dump_address_pair(pair):
96
def getaddresses(fieldvalues):
97
"""Return a list of (REALNAME, EMAIL) for each fieldvalue."""
98
all = COMMASPACE.join(fieldvalues)
99
- a = _AddrlistClass(all)
+ a = _AddressList(all)
100
return a.getaddrlist()
101
102
0 commit comments