]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
oops. nearly forgot this one:
authorAnthony Baxter <anthonybaxter@gmail.com>
Sun, 23 Dec 2001 07:02:01 +0000 (07:02 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Sun, 23 Dec 2001 07:02:01 +0000 (07:02 +0000)
backport patch #495358  rfc822.AddressList and "<>" address

Lib/rfc822.py

index 101013dfb04cbfde91556d1f0f639fff9c322a4c..0dd4e6f7116d11c88e798a4651220efcf2874904 100644 (file)
@@ -591,7 +591,7 @@ class AddrlistClass:
         expectroute = 0
         self.pos = self.pos + 1
         self.gotonext()
-        adlist = None
+        adlist = ""
         while self.pos < len(self.field):
             if expectroute:
                 self.getdomain()