diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-23 15:31:02 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-23 15:31:02 +0000 |
commit | 41e2ff2bff553f3bba06ba3c0e50b5c568ccf1c9 (patch) | |
tree | 4bc7d5ecdc6f933c3616129e23efe8f95f3edac0 /experimental | |
parent | f757fd32385d079552e3a7e7742993595a730479 (diff) |
fix bench rebase tool to cope with wider range of bots.
BUG=skia:2373
R=kelvinly@google.com
TBR=kelvinly@google.com
NOTRY=true
Author: bensong@google.com
Review URL: https://codereview.chromium.org/292623005
git-svn-id: http://skia.googlecode.com/svn/trunk@14869 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rwxr-xr-x | experimental/benchtools/rebase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/benchtools/rebase.py b/experimental/benchtools/rebase.py index 5eee51630d..3f89791eb4 100755 --- a/experimental/benchtools/rebase.py +++ b/experimental/benchtools/rebase.py @@ -84,7 +84,7 @@ def download_gs_files(p, h, gs_dir): os.remove(os.path.join(gs_dir, p, f)) else: files += 1 - if files == 4: + if files: return True return False @@ -220,7 +220,7 @@ def main(): hash_to_use = '' for h in reversed(hashes): li = get_gs_filelist(p, h) - if len(li) != 4: # no or partial data + if not len(li): # no data continue if download_gs_files(p, h, gs_dir): print 'Copied %s/%s' % (p, h) |