1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00

Removed excessive logging

This commit is contained in:
slush 2017-12-17 02:58:35 +01:00
parent 3fedf44bf5
commit da335049d7

View File

@ -52,7 +52,6 @@ class ProtocolV2(object):
self.session = None self.session = None
def write(self, transport, msg): def write(self, transport, msg):
print(msg)
if not self.session: if not self.session:
raise RuntimeError('Missing session for v2 protocol') raise RuntimeError('Missing session for v2 protocol')
@ -96,7 +95,6 @@ class ProtocolV2(object):
# Parse to protobuf # Parse to protobuf
msg = protobuf.load_message(data, mapping.get_class(msg_type)) msg = protobuf.load_message(data, mapping.get_class(msg_type))
print(msg)
return msg return msg
def parse_first(self, chunk): def parse_first(self, chunk):