Skip to content

Commit

Permalink
Merge branch 'stepstarted' of git://github.com/chasephillips/buildbot
Browse files Browse the repository at this point in the history
* 'stepstarted' of git://github.com/chasephillips/buildbot:
  buildstatus should only show steps that have started.
  • Loading branch information
Dustin J. Mitchell committed Feb 18, 2010
2 parents 7bf7265 + 10b9863 commit 6d43578
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildbot/status/web/buildstatus.py
Expand Up @@ -33,8 +33,9 @@ def content(self, request, ctx):

# Display each step, starting by the last one.
for i in range(len(build.getSteps()) - 1, -1, -1):
if build.getSteps()[i].getText():
rows.append(IBox(build.getSteps()[i]).getBox(request).td(align="center"))
step = build.getSteps()[i]
if step.isStarted() and step.getText():
rows.append(IBox(step).getBox(request).td(align="center"))

# Display the bottom box with the build number in it.
ctx['build'] = IBox(build).getBox(request).td(align="center")
Expand Down

0 comments on commit 6d43578

Please sign in to comment.