[Xcb-commit] CVSROOT syncmail,1.6,1.7

Jeremy Kolb xcb-commit at lists.freedesktop.org
Sat May 21 00:19:20 PDT 2005


Update of /cvs/xcb/CVSROOT
In directory gabe:/tmp/cvs-serv9085

Modified Files:
	syncmail 
Log Message:
Fix to send mail by user <xcb-commit at lists.freedesktop.org> so that messages don't require list moderation.


Index: syncmail
===================================================================
RCS file: /cvs/xcb/CVSROOT/syncmail,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- syncmail	18 May 2005 00:57:14 -0000	1.6
+++ syncmail	21 May 2005 07:19:18 -0000	1.7
@@ -229,14 +229,14 @@
         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 at lists.freedesktop.org>
 To: %(people)s''' % vars
         if replyto:
             print >> s, 'Reply-To: %s' % replyto



More information about the xcb-commit mailing list