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:
parent
69ef1f0acd
commit
082adfd15d
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user