From 56cdf11922d940b560a26dc8e68ed23a19acc9d7 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 12 Apr 2002 20:55:31 +0000 Subject: AddrlistClass -> AddressList --- Lib/rfc822.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 65957ab..aa58f18 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -351,7 +351,7 @@ class Message: addr = h[i+1:] raw.append(addr) alladdrs = ''.join(raw) - a = AddrlistClass(alladdrs) + a = AddressList(alladdrs) return a.getaddrlist() def getdate(self, name): @@ -494,7 +494,7 @@ def quote(str): def parseaddr(address): """Parse an address into a (realname, mailaddr) tuple.""" - a = AddrlistClass(address) + a = AddressList(address) list = a.getaddrlist() if not list: return (None, None) -- cgit v0.12