From d24d298752251944aa7449c48be60121b09cff05 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Mon, 23 Sep 2002 13:40:29 +0000 Subject: [PATCH] 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. --- Lib/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 83460813e36c..aa148b17461e 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -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: -- 2.47.3