diff options
-rw-r--r-- | Lib/rfc822.py | 4 |
1 files 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) |