Update of /cvsroot/tmda/tmda/TMDA/pythonlib/email
In directory sc8-pr-cvs1:/tmp/cvs-serv27530/TMDA/pythonlib/email

Modified Files:
        Header.py 
Log Message:
Sync email with Python CVS. Fixes the header folding bug reported by
Robin Lynn Frank in <[EMAIL PROTECTED]> on
tmda-users.


Index: Header.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/pythonlib/email/Header.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Header.py   11 Mar 2003 20:38:59 -0000      1.7
+++ Header.py   17 Mar 2003 20:48:29 -0000      1.8
@@ -361,6 +361,8 @@
         #  =?charset2?b?SvxyZ2VuIEL2aW5n?="
         chunks = []
         for header, charset in newchunks:
+            if not header:
+                continue
             if charset is None or charset.header_encoding is None:
                 s = header
             else:

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs

Reply via email to