GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 1225c5d9 authored by juga  's avatar juga

fix: v3bwfile: Stop calculating failures with 0 attempts

parent 5b6ba3e8
......@@ -379,7 +379,8 @@ class V3BWHeader(object):
# failures = attempts - all mesaurements
# Works only in the case that old measurements files already had
# measurements count
if recent_measurement_attempt_count is not None:
# If this is None or 0, the failures can't be calculated
if recent_measurement_attempt_count:
all_measurements = 0
for result_list in results.values():
all_measurements += len(result_list)
Markdown is supported
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