From 1e0cb1f76bbdd38fd46db10b8647c95bf3502900 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 7 May 2004 12:37:08 +0000 Subject: Experimenting with USER git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4589 a1c6a512-1295-4272-9138-f99709370657 --- CVSROOT/syncmail | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail index 3b4d19dc56..a03c98a913 100755 --- a/CVSROOT/syncmail +++ b/CVSROOT/syncmail @@ -71,7 +71,7 @@ import time import getopt # Notification command -MAILCMD = '/bin/mail -s "cvs: %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' +MAILCMD = '/bin/mail -s "%(username): %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' # Diff trimming stuff DIFF_HEAD_LINES = 20 @@ -164,7 +164,7 @@ def main(): except getopt.error, msg: usage(1, msg) - username = 'apa' + username = 'unknown' # parse the options for opt, arg in opts: @@ -205,9 +205,8 @@ def main(): return if specs[-3:] == ['-', 'New', 'directory']: del specs[-3:] - print username - print 'generating notification message...' - # blast_mail(mailcmd, specs[1:], contextlines) + print 'Generating notification message...' + blast_mail(mailcmd, specs[1:], contextlines) print 'Generating notification message... done.' -- cgit v1.2.3