Separate out the dockerfile build stuff to a separate class. Add a dependency on docker-py master.

This commit is contained in:
yackob03 2014-02-05 11:07:54 -05:00
parent 72c380d9a1
commit 67e0736fc6
4 changed files with 184 additions and 176 deletions

View file

@ -1186,8 +1186,8 @@ def get_repo_build_logs(namespace, repository, build_uuid):
if permission.can():
build = model.get_repository_build(namespace, repository, build_uuid)
start = request.args.get('start', -1000)
end = request.args.get('end', -1)
start = int(request.args.get('start', -1000))
end = int(request.args.get('end', -1))
count, logs = build_logs.get_log_entries(build.uuid, start, end)
if start < 0: