Commit 8f711dd1 authored by juga  's avatar juga
Browse files

fix: flake8 errors

parent 68cb95ba
......@@ -403,8 +403,8 @@ class DestinationList:
dests.append(
Destination.from_config(
conf[dest_sec],
# Multiply by the number of threads since all the threads will
# fail at the same time.
# Multiply by the number of threads since all the threads
# will fail at the same time.
conf.getint("scanner", "max_download_size"),
conf.getint("scanner", "measurement_threads"),
)
......
......@@ -400,7 +400,8 @@ class Result:
"scanner": self.scanner,
"version": self.version,
"relay_in_recent_consensus": self.relay_in_recent_consensus,
"relay_recent_measurement_attempt": self.relay_recent_measurement_attempt,
"relay_recent_measurement_attempt":
self.relay_recent_measurement_attempt,
"relay_recent_priority_list": self.relay_recent_priority_list,
}
......@@ -830,7 +831,8 @@ class ResultSuccess(Result):
"relay_burst_bandwidth": self.relay_burst_bandwidth,
"relay_observed_bandwidth": self.relay_observed_bandwidth,
"consensus_bandwidth": self.consensus_bandwidth,
"consensus_bandwidth_is_unmeasured": self.consensus_bandwidth_is_unmeasured,
"consensus_bandwidth_is_unmeasured":
self.consensus_bandwidth_is_unmeasured,
}
)
return d
......
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