mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-24 08:28:12 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
11 lines
224 B
Python
11 lines
224 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class Failure(p.MessageType):
|
|
FIELDS = {
|
|
1: ('code', p.UVarintType, 0),
|
|
2: ('message', p.UnicodeType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 3
|