summaryrefslogtreecommitdiff
path: root/CVSROOT
diff options
context:
space:
mode:
authorJeremy Kolb <jkolb@brandeis.edu>2005-05-21 07:19:18 +0000
committerJeremy Kolb <jkolb@brandeis.edu>2005-05-21 07:19:18 +0000
commit275f322d8b83fd12cfdb58bb0be602a4aeddac7e (patch)
tree4b2db9d9a71f0236590d29069355223967e8829d /CVSROOT
parent910e56dbfa22f605261eb290113efb7340fc8b68 (diff)
Fix to send mail by user <xcb-commit@lists.freedesktop.org> so that
messages don't require list moderation.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/syncmail4
1 files changed, 2 insertions, 2 deletions
diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail
index 798d966..6940519 100755
--- a/CVSROOT/syncmail
+++ b/CVSROOT/syncmail
@@ -229,14 +229,14 @@ def blast_mail(subject, people, entries, contextlines, fromhost, replyto):
s = StringIO()
datestamp = time.strftime('%a, %d %b %Y %H:%M:%S +0000',
time.gmtime(time.time()))
- vars = {'author' : formataddr((name, address)),
+ vars = {'author' : quotename(name), #formataddr((name, address)),
'people' : COMMASPACE.join(people),
'subject' : subject,
'version' : __version__,
'date' : datestamp,
}
print >> s, '''\
-From: %(author)s
+From: %(author)s <xcb-commit@lists.freedesktop.org>
To: %(people)s''' % vars
if replyto:
print >> s, 'Reply-To: %s' % replyto