Kaydet (Commit) d24d2987 authored tarafından Michael W. Hudson's avatar Michael W. Hudson

backport bwarsaw's checkin of

    revision 1.70 of rfc822.py

parseaddr(): Fixed in the same way that Message.getaddrlist() was
fixed (re: SF bug #555035).  Include a unittest.
üst edf66107
......@@ -488,7 +488,7 @@ def quote(str):
def parseaddr(address):
"""Parse an address into a (realname, mailaddr) tuple."""
a = AddrlistClass(address)
list = a.getaddrlist()
list = a.addresslist
if not list:
return (None, None)
else:
......
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