[Buildbot-commits] buildbot/buildbot/status/web build.py, 1.13, 1.14

Brian Warner warner at users.sourceforge.net
Wed Oct 10 08:23:08 UTC 2007


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

Modified Files:
	build.py 
Log Message:
[project @ fix a typo that removed the Stop Build button. Closes #114.]

Original author: warner at lothar.com
Date: 2007-10-10 08:22:11+00:00

Index: build.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/build.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- build.py	30 Sep 2007 18:20:56 -0000	1.13
+++ build.py	10 Oct 2007 08:23:06 -0000	1.14
@@ -258,9 +258,10 @@
         if num is not None:
             build_status = self.builder_status.getBuild(num)
             if build_status:
-                build_control = None
                 if self.builder_control:
-                    builder_control = self.builder_control.getBuild(num)
+                    build_control = self.builder_control.getBuild(num)
+                else:
+                    build_control = None
                 return StatusResourceBuild(build_status, build_control,
                                            self.builder_control)
 





More information about the Commits mailing list