diff options
author | Barry Warsaw <barry@python.org> | 2002-05-23 03:21:01 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-05-23 03:21:01 (GMT) |
commit | f655328483b2e237cc2f71c1c308eceb2f30f6fd (patch) | |
tree | 3b81ed08b60d5262add766f3cdd2ce5d44a5c5c9 /Lib/rfc822.py | |
parent | 12424bc0eff82e0ebf5134cca1139b7d4b6faed0 (diff) | |
download | cpython-f655328483b2e237cc2f71c1c308eceb2f30f6fd.zip cpython-f655328483b2e237cc2f71c1c308eceb2f30f6fd.tar.gz cpython-f655328483b2e237cc2f71c1c308eceb2f30f6fd.tar.bz2 |
parseaddr(): Fixed in the same way that Message.getaddrlist() was
fixed (re: SF bug #555035). Include a unittest.
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r-- | Lib/rfc822.py | 2 |
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: |