]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make test_rfc822 pass again.
authorMichael W. Hudson <mwh@python.net>
Tue, 24 Sep 2002 09:59:50 +0000 (09:59 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 24 Sep 2002 09:59:50 +0000 (09:59 +0000)
Lib/rfc822.py

index aa148b17461e1dc0e2e8028f42dcf67b3cc011b2..78f7eea397d0d8705061be91052b665c32c1f8b3 100644 (file)
@@ -487,7 +487,7 @@ def quote(str):
 
 def parseaddr(address):
     """Parse an address into a (realname, mailaddr) tuple."""
-    a = AddrlistClass(address)
+    a = AddressList(address)
     list = a.addresslist
     if not list:
         return (None, None)