summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 826269f..0ce546c 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: