diff options
author | Roger Meier <roger@apache.org> | 2012-11-02 10:36:59 +0000 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2012-11-02 10:36:59 +0000 |
commit | 05ab89a1286049567e8d6ada1833a7d75179a365 (patch) | |
tree | 371207e82c73c77855358540ecfdb9229135b3da /lib/py/src | |
parent | 691ec0021338c143dd4444d00b87925c5ec3c10b (diff) | |
download | thrift-05ab89a1286049567e8d6ada1833a7d75179a365.tar.gz |
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
Diffstat (limited to 'lib/py/src')
-rw-r--r-- | lib/py/src/protocol/TJSONProtocol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/py/src/protocol/TJSONProtocol.py b/lib/py/src/protocol/TJSONProtocol.py index 97bc7639b..57872bdc7 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'} |