Commit 9b24a0b1 authored by juga's avatar juga
Browse files

Use recent_results, since min_num_success_results

has been removed. Also add logging
parent 73c67f4b
......@@ -280,7 +280,11 @@ class V3BWLine(object):
'{} results.'.format(min_num))
return None
results_away = \
cls.results_away_each_other(min_num_success_results, secs_away)
cls.results_away_each_other(success_results, secs_away)
if not results_away:
log.debug("There are no results with relays' results away from"
" each other {}".format(secs_away))
return None
results_recent = cls.results_recent_than(results_away, secs_recent)
if not results_recent:
return None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment