From 68573e94d32b4b28bd6678e3865831f4ce4bb2e1 Mon Sep 17 00:00:00 2001 From: NIC619 Date: Sun, 15 Sep 2019 16:34:16 +0800 Subject: [PATCH] Have `StreamError` inherit from `IOException` --- libp2p/network/stream/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/network/stream/exceptions.py b/libp2p/network/stream/exceptions.py index 58f3ddf..7af28ec 100644 --- a/libp2p/network/stream/exceptions.py +++ b/libp2p/network/stream/exceptions.py @@ -1,7 +1,7 @@ -from libp2p.exceptions import BaseLibp2pError +from libp2p.io.exceptions import IOException -class StreamError(BaseLibp2pError): +class StreamError(IOException): pass