[CVS] CVSROOT newsyncmail,1.2,1.3
Update of /cvsroot/l10n-russian/CVSROOT
In directory quantz:/tmp/cvs-serv4801
Modified Files:
newsyncmail
Log Message:
One more attempt
Index: newsyncmail
===================================================================
RCS file: /cvsroot/l10n-russian/CVSROOT/newsyncmail,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- newsyncmail 16 Jan 2004 12:00:12 -0000 1.2
+++ newsyncmail 16 Jan 2004 13:35:46 -0000 1.3
@@ -263,13 +263,13 @@
To: %(people)s''' % vars
if replyto:
print 'Reply-To: %s' % replyto
+ if charset:
+ print 'MIME-Version: 1.0\nContent-Type: text/plain; charset=%s\nContent-Transfer-Encoding: 8bit' % charset
print '''\
Subject: %(subject)s
-Date: %(date)s
+Date: date
X-Mailer: Python syncmail %(version)s <http://sf.net/projects/cvs-syncmail>
''' % vars
- if charset:
- print 'MIME-Version: 1.0\nContent-Type: text/plain; charset=%s\nContent-Transfer-Encoding: 8bit\n' % charset
s.write(sys.stdin.read())
# append the diffs if available
print
Reply to: