[Buildbot-commits] buildbot/buildbot/process builder.py,1.17,1.18

Brian Warner warner at users.sourceforge.net
Sun Nov 7 20:32:50 UTC 2004


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

Modified Files:
	builder.py 
Log Message:
(Builder._detached): clear the self.currentBuild reference, otherwise the
next build will be skipped because we think the Builder is already in use.


Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/builder.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- builder.py	30 Sep 2004 10:05:43 -0000	1.17
+++ builder.py	7 Nov 2004 20:32:47 -0000	1.18
@@ -181,6 +181,7 @@
         if self.currentBuild:
             # wasn't enough
             self.currentBuild.stopBuild("slave lost")
+            self.currentBuild = None
             # TODO: should failover to a new Build
         self.builder_status.addPointEvent(['disconnect'])
         self.builder_status.currentlyOffline()





More information about the Commits mailing list