Bench rebaseline from codereview: fix is_finished

R=epoger@google.com, bensong@google.com
TBR=benchen, epoger
BUG=skia:2225
NOTREECHECKS=true
NOTRY=true

Author: borenet@google.com

Review URL: https://codereview.chromium.org/304943002

git-svn-id: http://skia.googlecode.com/svn/trunk@14962 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-05-29 16:05:48 +00:00
Родитель 68d20ece89
Коммит cac02e52cd
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -41,8 +41,11 @@ def find_all_builds(codereview_url):
for builder, data in results.iteritems():
if builder.startswith('Perf'):
build_num = data.url.split('/')[-1] if data.url else None
try_builds.append(TryBuild(builder, build_num,
data.status != 'pending'))
is_finished = (data.status not in ('pending', 'try-pending') and
build_num is not None)
try_builds.append(TryBuild(builder_name=builder,
build_number=build_num,
is_finished=is_finished))
return try_builds