1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +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. # 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>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import importlib
import logging import logging
from typing import Iterable, List, Set, Type from typing import Iterable, List, Set, Type
from ..exceptions import TrezorException
from ..protobuf import MessageType from ..protobuf import MessageType
if False: if False:
@ -39,7 +39,7 @@ https://github.com/trezor/trezor-common/blob/master/udev/51-trezor.rules
""".strip() """.strip()
class TransportException(Exception): class TransportException(TrezorException):
pass pass