diff options
-rwxr-xr-x | CVSROOT/syncmail | 9 |
1 files 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 | |||
71 | import getopt | 71 | import getopt |
72 | 72 | ||
73 | # Notification command | 73 | # Notification command |
74 | MAILCMD = '/bin/mail -s "cvs: %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' | 74 | MAILCMD = '/bin/mail -s "%(username): %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' |
75 | 75 | ||
76 | # Diff trimming stuff | 76 | # Diff trimming stuff |
77 | DIFF_HEAD_LINES = 20 | 77 | DIFF_HEAD_LINES = 20 |
@@ -164,7 +164,7 @@ def main(): | |||
164 | except getopt.error, msg: | 164 | except getopt.error, msg: |
165 | usage(1, msg) | 165 | usage(1, msg) |
166 | 166 | ||
167 | username = 'apa' | 167 | username = 'unknown' |
168 | 168 | ||
169 | # parse the options | 169 | # parse the options |
170 | for opt, arg in opts: | 170 | for opt, arg in opts: |
@@ -205,9 +205,8 @@ def main(): | |||
205 | return | 205 | return |
206 | if specs[-3:] == ['-', 'New', 'directory']: | 206 | if specs[-3:] == ['-', 'New', 'directory']: |
207 | del specs[-3:] | 207 | del specs[-3:] |
208 | print username | 208 | print 'Generating notification message...' |
209 | print 'generating notification message...' | 209 | blast_mail(mailcmd, specs[1:], contextlines) |
210 | # blast_mail(mailcmd, specs[1:], contextlines) | ||
211 | print 'Generating notification message... done.' | 210 | print 'Generating notification message... done.' |
212 | 211 | ||
213 | 212 | ||