Skip to content

Commit

Permalink
Merge commit 'ab7716e4387e116eaecd5c39b1309f756607943d' into jinja
Browse files Browse the repository at this point in the history
Conflicts:
	buildbot/status/web/slaves.py
  • Loading branch information
marcus-sonestedt committed Dec 13, 2009
2 parents ba25197 + ab7716e commit e80ccd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion buildbot/status/web/builder.py
Expand Up @@ -44,7 +44,8 @@ def builder(self, build, req):
b['current_step'] = "[waiting for Lock]"
# TODO: is this necessarily the case?

if self.builder_control is not None:
builder_control = self.getControl(req)
if builder_control is not None:
b['stop_url'] = path_to_build(req, build) + '/stop'

return b
Expand Down
2 changes: 1 addition & 1 deletion buildbot/status/web/slaves.py
Expand Up @@ -44,7 +44,7 @@ def content(self, request, ctx):
current_builds.append(self.get_line_values(request, cb))

try:
max_builds = int(request.args.get('builds')[0])
max_builds = int(request.args.get('numbuilds')[0])
except:
max_builds = 10

Expand Down

0 comments on commit e80ccd6

Please sign in to comment.