[Python-checkins] r70410 - tracker/roundup-src/roundup/roundupdb.py

martin.v.loewis python-checkins at python.org
Mon Mar 16 01:06:00 CET 2009


Author: martin.v.loewis
Date: Mon Mar 16 01:06:00 2009
New Revision: 70410

Log:
Convert Message to str before sending it.


Modified:
   tracker/roundup-src/roundup/roundupdb.py

Modified: tracker/roundup-src/roundup/roundupdb.py
==============================================================================
--- tracker/roundup-src/roundup/roundupdb.py	(original)
+++ tracker/roundup-src/roundup/roundupdb.py	Mon Mar 16 01:06:00 2009
@@ -505,9 +505,9 @@
                 encode_quopri(message)
 
             if first:
-                mailer.smtp_send(sendto + bcc_sendto, message)
+                mailer.smtp_send(sendto + bcc_sendto, str(message))
             else:
-                mailer.smtp_send(sendto, message)
+                mailer.smtp_send(sendto, str(message))
             first = False
 
     def email_signature(self, nodeid, msgid):


More information about the Python-checkins mailing list