[Buildbot-commits] buildbot/buildbot/process base.py, 1.65, 1.66 step.py, 1.90, 1.91

Brian Warner warner at users.sourceforge.net
Fri Jun 16 05:27:53 UTC 2006


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

Modified Files:
	base.py step.py 
Log Message:
[project @ improve BuildStepStatus creation and setting]

Original author: warner at lothar.com
Date: 2006-06-16 01:01:40

Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/base.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- base.py	23 May 2006 16:29:56 -0000	1.65
+++ base.py	16 Jun 2006 05:27:51 -0000	1.66
@@ -372,7 +372,8 @@
 
             # tell the BuildStatus about the step. This will create a
             # BuildStepStatus and bind it to the Step.
-            self.build_status.addStep(step)
+            step_status = self.build_status.addStep(name)
+            step.setStepStatus(step_status)
 
             sp = None
             if self.useProgress:

Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- step.py	15 Jun 2006 05:47:35 -0000	1.90
+++ step.py	16 Jun 2006 05:27:51 -0000	1.91
@@ -539,6 +539,9 @@
             raise TypeError(why)
         self._pendingLogObservers = []
 
+    def setStepStatus(self, step_status):
+        self.step_status = step_status
+
     def setupProgress(self):
         if self.useProgress:
             sp = progress.StepProgress(self.name, self.progressMetrics)





More information about the Commits mailing list