mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-23 07:58:09 +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.
|
||||
# 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user