1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

transport: derive TransportException from TrezorException

This commit is contained in:
matejcik 2018-11-23 12:41:40 +01:00
parent 69ef1f0acd
commit 082adfd15d

View File

@ -14,10 +14,10 @@
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
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