From 109cca5ab3c0d46654192587f9163e405009375c Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 21 Feb 2015 12:52:01 +0100 Subject: [PATCH] fix _customPrintFieldValue --- trezorlib/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/tools.py b/trezorlib/tools.py index 176fefa..e01a887 100644 --- a/trezorlib/tools.py +++ b/trezorlib/tools.py @@ -88,7 +88,7 @@ def monkeypatch_google_protobuf_text_format(): _oldPrintFieldValue = google.protobuf.text_format.PrintFieldValue - def _customPrintFieldValue(field, value, out, indent=0, as_utf8=False, as_one_line=False): + def _customPrintFieldValue(field, value, out, indent=0, as_utf8=False, as_one_line=False, pointy_brackets=False, float_format=None): if field.type == google.protobuf.descriptor.FieldDescriptor.TYPE_BYTES: _oldPrintFieldValue(field, 'hex(%s)' % binascii.hexlify(value), out, indent, as_utf8, as_one_line) else: