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
68eb23a4
Commit
68eb23a4
authored
Jun 12, 2018
by
Matt Traudt
Browse files
Fix .join needing only strs; first changelog entry
parent
6988eee3
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
68eb23a4
This file will be populated once we hit 1.0.0
# Changelog
All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
http://keepachangelog.com/en/1.0.0/
)
and this project adheres to
[
Semantic Versioning
](
http://semver.org/spec/v2.0.0.html
)
.
## [Unreleased]
### Fixed
-
Exception that causes sbws to fall back to one measurement thread. We first
tried fixing something in this area with
`88fae60bc`
but neglected to
remember that
`.join()`
wants only string arguments and can't handle a
`None`
.
So fix that.
[
Unreleased
]:
https://github.com/pastly/simple-bw-scanner/v0.4.0...master
sbws/lib/circuitbuilder.py
View file @
68eb23a4
...
...
@@ -164,7 +164,7 @@ class GapsCircuitBuilder(CircuitBuilder):
insert_relays
=
self
.
_random_sample_relays
(
num_missing
,
[
r
for
r
in
path
if
r
is
not
None
])
if
insert_relays
is
None
:
path
=
','
.
join
([
r
.
nickname
if
r
else
None
for
r
in
path
])
path
=
','
.
join
([
r
.
nickname
if
r
else
str
(
None
)
for
r
in
path
])
log
.
warning
(
'Problem building a circuit to satisfy %s with available '
'relays in the network'
,
path
)
...
...
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