commit | 24fd0252c474bb1e4189dd6b92e572343f27f0f9 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Apr 15 22:00:25 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Apr 15 22:00:25 2002 +0000 |
tree | 412dfe3a9ccce478754c2f314bb9d60ab6db38d8 | |
parent | 0e0b6180ba2f85d54bdaeb4c36aac8bb01dd1759 [diff] |
parseaddr(): Don't use rfc822.parseaddr() because this now implies a double call to AddressList.getaddrlist(), and /that/ always returns an empty list for the second and subsequent calls. Instead, instantiate an AddressList directly, and get the parsed addresses out of the addresslist attribute.