From: Roger Meier Date: Fri, 2 Nov 2012 10:36:59 +0000 (+0000) Subject: THRIFT-1745 Python JSON protocol X-Git-Tag: 0.9.1~243 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=05ab89a1286049567e8d6ada1833a7d75179a365;p=common%2Fthrift.git THRIFT-1745 Python JSON protocol fix typo detected by cross language test suite git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1404914 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/py/src/protocol/TJSONProtocol.py b/lib/py/src/protocol/TJSONProtocol.py index 97bc7639..57872bdc 100644 --- a/lib/py/src/protocol/TJSONProtocol.py +++ b/lib/py/src/protocol/TJSONProtocol.py @@ -46,7 +46,7 @@ CTYPES = {TType.BOOL: 'tf', TType.I64: 'i64', TType.DOUBLE: 'dbl', TType.STRING: 'str', - TType.STRUCT: 'rect', + TType.STRUCT: 'rec', TType.LIST: 'lst', TType.SET: 'set', TType.MAP: 'map'}