From 58bdee499bfe2aec2cc6f1dfa38426213d2eb057 Mon Sep 17 00:00:00 2001 From: Stuckinaboot Date: Sun, 3 Mar 2019 23:57:20 +1100 Subject: [PATCH] Fix linting issue --- libp2p/protocol_muxer/multiselect_client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libp2p/protocol_muxer/multiselect_client.py b/libp2p/protocol_muxer/multiselect_client.py index 8e5463a..4cc07d9 100644 --- a/libp2p/protocol_muxer/multiselect_client.py +++ b/libp2p/protocol_muxer/multiselect_client.py @@ -104,9 +104,8 @@ class MultiselectClient(IMultiselectClient): if response == protocol: return protocol if response == PROTOCOL_NOT_FOUND_MSG: - raise MultiselectClientError("protocol not supported") - else: - raise MultiselectClientError("unrecognized response: " + response) + raise MultiselectClientError("protocol not supported") + raise MultiselectClientError("unrecognized response: " + response) def validate_handshake(handshake_contents):