Verified Commit 754469b4 authored by Georg Koppen's avatar Georg Koppen
Browse files

Merge branch 'm13'

parents cfe24fec 09d7ca7e
Pipeline #23597 passed with stages
in 26 minutes and 11 seconds
......@@ -1021,7 +1021,9 @@ class V3BWLine(object):
desc_bw_obs_ls.append(r.relay_observed_bandwidth)
if desc_bw_obs_ls:
return round(mean(desc_bw_obs_ls))
log.warning("Descriptor observed bandwidth is None.")
log.info(
"Descriptor observed bandwidth is None. Can't calculate mean."
)
return None
@staticmethod
......@@ -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.")
log.info("Descriptor observed bandwidth is None. Can't get the last.")
return None
@property
......
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