Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

Commit

Permalink
Merge pull request #144 from jmaher/master
Browse files Browse the repository at this point in the history
remove b2g job check, causing odd failure in seta.py
  • Loading branch information
jmaher committed Sep 23, 2016
2 parents df03c81 + 247c406 commit e8486c8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tools/seta.py
Expand Up @@ -137,21 +137,7 @@ def failures_by_jobtype(failures, target, ignore_failure):
return high_value_jobs, total_detected


def remove_b2g_jobs(failures):
for revision, jobtypes in failures.iteritems():
for job in list(jobtypes):
if "b2g" in job[0]:
jobtypes.remove(job)

for revision in failures.keys():
if failures[revision] == []:
del failures[revision]

return failures


def weighted_by_jobtype(failures, target, ignore_failure):
failures = remove_b2g_jobs(failures)
total = len(failures)
copy_failures = copy.deepcopy(failures)
print "working with %s failures" % total
Expand Down

0 comments on commit e8486c8

Please sign in to comment.