summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-05-07 12:37:08 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-05-07 12:37:08 +0000
commit1e0cb1f76bbdd38fd46db10b8647c95bf3502900 (patch)
tree3fcdddfb23b89897e3bb57c5cebeed47a319d8f3
parente7970015793244c06ef1fc4ec24b46fd78225c72 (diff)
downloadrockbox-1e0cb1f76bbdd38fd46db10b8647c95bf3502900.tar.gz
rockbox-1e0cb1f76bbdd38fd46db10b8647c95bf3502900.zip
Experimenting with USER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4589 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xCVSROOT/syncmail9
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
71import getopt 71import getopt
72 72
73# Notification command 73# Notification command
74MAILCMD = '/bin/mail -s "cvs: %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' 74MAILCMD = '/bin/mail -s "%(username): %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null'
75 75
76# Diff trimming stuff 76# Diff trimming stuff
77DIFF_HEAD_LINES = 20 77DIFF_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