[Buildbot-commits] buildbot/buildbot/status client.py,1.18,1.19

Brian Warner warner at users.sourceforge.net
Wed May 18 00:51:05 UTC 2005


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

Modified Files:
	client.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-200
Creator:  Brian Warner <warner at monolith.lothar.com>

don't treat exception-raising Steps as SUCCESS

	* buildbot/status/client.py (PBListener): upcall more correctly
	* buildbot/process/base.py (Build.allStepsDone): if a step caused
	an exception mark the overall build with EXCEPTION, not SUCCESS


Index: client.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/client.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- client.py	17 May 2005 10:14:09 -0000	1.18
+++ client.py	18 May 2005 00:50:51 -0000	1.19
@@ -407,7 +407,7 @@
                           base.StatusReceiverMultiService.__implements__)
 
     def __init__(self, port, user="statusClient", passwd="clientpw"):
-        service.MultiService.__init__(self)
+        base.StatusReceiverMultiService.__init__(self)
         self.port = port
         self.cred = (user, passwd)
         p = portal.Portal(self)
@@ -419,7 +419,7 @@
         s.setServiceParent(self)
 
     def setServiceParent(self, parent):
-        service.MultiService.setServiceParent(self, parent)
+        base.StatusReceiverMultiService.setServiceParent(self, parent)
         self.setup()
 
     def setup(self):





More information about the Commits mailing list