Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
8f711dd1
Commit
8f711dd1
authored
Mar 16, 2021
by
juga
Browse files
fix: flake8 errors
parent
68cb95ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
sbws/lib/destination.py
View file @
8f711dd1
...
...
@@ -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"
),
)
...
...
sbws/lib/resultdump.py
View file @
8f711dd1
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment