[Buildbot-commits] buildbot/buildbot/status mail.py,1.31,1.32

Brian Warner warner at users.sourceforge.net
Mon Feb 5 18:47:24 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7859/buildbot/status

Modified Files:
	mail.py 
Log Message:
[project @ MailNotifier: assert that 'mode' is one of the supported values]

Original author: warner at lothar.com
Date: 2007-02-05 18:42:31

Index: mail.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/mail.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- mail.py	11 Dec 2006 09:06:35 -0000	1.31
+++ mail.py	5 Feb 2007 18:47:22 -0000	1.32
@@ -136,6 +136,7 @@
         self.extraRecipients = extraRecipients
         self.sendToInterestedUsers = sendToInterestedUsers
         self.fromaddr = fromaddr
+        assert mode in ('all', 'failing', 'problem')
         self.mode = mode
         self.categories = categories
         self.builders = builders





More information about the Commits mailing list