trezor: pass transport parameter explicitly as a keyword argument (#4194)

This commit is contained in:
Roman Zeyde 2018-03-28 21:00:38 +03:00 committed by ghost43
parent facf833bac
commit d69318ff14

View file

@ -3,8 +3,8 @@ from .clientbase import TrezorClientBase
class TrezorClient(TrezorClientBase, ProtocolMixin, BaseClient): class TrezorClient(TrezorClientBase, ProtocolMixin, BaseClient):
def __init__(self, transport, handler, plugin): def __init__(self, transport, handler, plugin):
BaseClient.__init__(self, transport) BaseClient.__init__(self, transport=transport)
ProtocolMixin.__init__(self, transport) ProtocolMixin.__init__(self, transport=transport)
TrezorClientBase.__init__(self, handler, plugin, proto) TrezorClientBase.__init__(self, handler, plugin, proto)