[Plib-cvs] CVS: CVSROOT syncmail,1.5,1.6
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-04-15 22:19:17
|
Update of /cvsroot/plib/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv13015 Modified Files: syncmail Log Message: Updated to rev. 3.20 from GNU mailman CVS repository Index: syncmail =================================================================== RCS file: /cvsroot/plib/CVSROOT/syncmail,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- syncmail 29 Jan 2002 20:55:25 -0000 1.5 +++ syncmail 15 Apr 2002 22:19:13 -0000 1.6 @@ -1,5 +1,7 @@ #! /usr/bin/python -# -*- Python -*- + +# NOTE: Until SourceForge installs a modern version of Python on the cvs +# servers, this script MUST be compatible with Python 1.5.2. """Complicated notification for CVS checkins. @@ -35,8 +37,7 @@ Use <path> as the environment variable CVSROOT. Otherwise this variable must exist in the environment. [...202 lines suppressed...] for s in specs[2:]: prev = L[-1] - if string.count(prev, ",") < 2: + if string.count(prev, ',') < 2: L[-1] = "%s %s" % (prev, s) else: L.append(s) specs = L - print 'Generating notification message...' - blast_mail(mailcmd, specs[1:], contextlines) - print 'Generating notification message... done.' + + if verbose: + print 'Generating notification message...' + blast_mail(subject, people, specs[1:], contextlines) + if verbose: + print 'Generating notification message... done.' |