Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Comments

relaylist: remove assertions that fail measurement#317

Open
juga0 wants to merge 1 commit intotorproject:masterfrom
juga0:bug28870
Open

relaylist: remove assertions that fail measurement#317
juga0 wants to merge 1 commit intotorproject:masterfrom
juga0:bug28870

Conversation

@juga0
Copy link
Contributor

@juga0 juga0 commented Dec 18, 2018

When the descriptor or network status of a relay was not obtained,
some attributes can't be obtained it can be return None instead
of failing the measurement.
Also, there's no need for hasattr when getattr can just return
None as default.

Closes #28870. Bugfix v0.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant