Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory usw-pr-cvs1:/tmp/cvs-serv23363/Mailman/Handlers

Modified Files:
        Decorate.py 
Log Message:
process(): Add another predicate to the test for whether we can add
headers and footers by concatenation.  Content-Transfer-Encoding: must
not be base64.


Index: Decorate.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Decorate.py,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -d -r2.13 -r2.14
*** Decorate.py 12 Mar 2002 00:49:40 -0000      2.13
--- Decorate.py 16 Mar 2002 02:09:40 -0000      2.14
***************
*** 73,76 ****
--- 73,77 ----
      # MIME multipart chroming the message?
      if not msg.is_multipart() and msgtype == 'text/plain' and \
+            msg.get('content-transfer-encoding', '').lower() <> 'base64' and \
             (lcset == 'us-ascii' or mcset == lcset):
          payload = header + msg.get_payload() + footer


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins

Reply via email to