Verified Commit 09d7ca7e authored by Georg Koppen's avatar Georg Koppen
Browse files

Merge remote-tracking branch 'gitlab/merge-requests/113' into m13

parents 54f5b9dc d3275696
Pipeline #23596 passed with stages
in 27 minutes and 19 seconds
......@@ -1021,7 +1021,9 @@ class V3BWLine(object):
if desc_bw_obs_ls:
return round(mean(desc_bw_obs_ls))
log.warning("Descriptor observed bandwidth is None.")
"Descriptor observed bandwidth is None. Can't calculate mean."
return None
......@@ -1030,7 +1032,7 @@ class V3BWLine(object):
for r in reversed(results):
if r.relay_observed_bandwidth is not None:
return r.relay_observed_bandwidth
log.warning("Descriptor observed bandwidth is None.")"Descriptor observed bandwidth is None. Can't get the last.")
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