From 082adfd15dd377f5948c9a7948efb8adf74d0e61 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 23 Nov 2018 12:41:40 +0100 Subject: [PATCH] transport: derive TransportException from TrezorException --- trezorlib/transport/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trezorlib/transport/__init__.py b/trezorlib/transport/__init__.py index 22e1847af..173c7f0bc 100644 --- a/trezorlib/transport/__init__.py +++ b/trezorlib/transport/__init__.py @@ -14,10 +14,10 @@ # You should have received a copy of the License along with this library. # If not, see . -import importlib import logging from typing import Iterable, List, Set, Type +from ..exceptions import TrezorException from ..protobuf import MessageType if False: @@ -39,7 +39,7 @@ https://github.com/trezor/trezor-common/blob/master/udev/51-trezor.rules """.strip() -class TransportException(Exception): +class TransportException(TrezorException): pass