[Buildbot-commits] buildbot/buildbot/status words.py,1.51,1.52

Brian Warner warner at users.sourceforge.net
Thu Nov 1 06:42:23 UTC 2007


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

Modified Files:
	words.py 
Log Message:
[project @ status/words: handle builds which are waiting for a lock. Closes #96.]

Original author: warner at lothar.com
Date: 2007-11-01 06:41:50+00:00

Index: words.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/words.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- words.py	2 Aug 2007 00:07:18 -0000	1.51
+++ words.py	1 Nov 2007 06:42:21 -0000	1.52
@@ -306,7 +306,10 @@
             t = []
             for build in builds:
                 step = build.getCurrentStep()
-                s = "(%s)" % " ".join(step.getText())
+                if step:
+                    s = "(%s)" % " ".join(step.getText())
+                else:
+                    s = "(no current step)"
                 ETA = build.getETA()
                 if ETA is not None:
                     s += " [ETA %s]" % self.convertTime(ETA)





More information about the Commits mailing list