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

relaylist: remove assertions that fail measurement #317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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