From f655328483b2e237cc2f71c1c308eceb2f30f6fd Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 23 May 2002 03:21:01 +0000 Subject: parseaddr(): Fixed in the same way that Message.getaddrlist() was fixed (re: SF bug #555035). Include a unittest. --- Lib/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/rfc822.py') diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 826269fe1a..0ce546ced7 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -495,7 +495,7 @@ def quote(str): def parseaddr(address): """Parse an address into a (realname, mailaddr) tuple.""" a = AddressList(address) - list = a.getaddrlist() + list = a.addresslist if not list: return (None, None) else: -- cgit v1.2.1