Following patch can be found at http://bugs.gentoo.org/show_bug.cgi?id=96540

--- cs_helpers.pyin     2004-11-28 14:35:23.000000000 +0100
+++ cs_helpers.py       2005-06-19 20:55:49.000000000 +0200
@@ -10,6 +10,7 @@
 #  (at your option) any later version.

 import os
+import time

 # the name of the config file read by the scripts; see there for
options and
 # descriptions
@@ -170,6 +171,7 @@
        msg['Subject']=mail_subject
        msg['From']=mail_from
        msg['To']=mail_to
+       msg['Date']=time.ctime()

        msg.preamble = 'This is a Multipart-MIME-message. Please use a
capable mailer.\n'
        msg.epilogue = '' # To guarantee the message ends with a newline
@@ -267,6 +269,7 @@
        msg['Subject'] = mail_subject
        msg['From'] = mail_from
        msg['To'] = mail_to
+       msg['Date']=time.ctime()

        try:
                server = smtplib.SMTP('localhost')


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to