updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / capisuite / capisuite-0.4.5-date-header.patch
blob76738fb78a74faa2638e213b18ec83fbe55c662d
1 --- scripts/cs_helpers.pyin.orig 2004-11-28 14:35:23.000000000 +0100
2 +++ scripts/cs_helpers.pyin 2005-06-19 20:55:49.000000000 +0200
3 @@ -10,6 +10,7 @@
4 # (at your option) any later version.
6 import os
7 +import time
9 # the name of the config file read by the scripts; see there for options and
10 # descriptions
11 @@ -170,6 +171,7 @@
12 msg['Subject']=mail_subject
13 msg['From']=mail_from
14 msg['To']=mail_to
15 + msg['Date']=time.strftime('%a, %d %b %Y %H:%M:%S %z')
17 msg.preamble = 'This is a Multipart-MIME-message. Please use a capable mailer.\n'
18 msg.epilogue = '' # To guarantee the message ends with a newline
19 @@ -267,6 +269,7 @@
20 msg['Subject'] = mail_subject
21 msg['From'] = mail_from
22 msg['To'] = mail_to
23 + msg['Date'] = time.strftime('%a, %d %b %Y %H:%M:%S %z')
25 try:
26 server = smtplib.SMTP('localhost')