summaryrefslogtreecommitdiff
path: root/lib/py/src
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2012-11-02 10:36:59 +0000
committerRoger Meier <roger@apache.org>2012-11-02 10:36:59 +0000
commit05ab89a1286049567e8d6ada1833a7d75179a365 (patch)
tree371207e82c73c77855358540ecfdb9229135b3da /lib/py/src
parent691ec0021338c143dd4444d00b87925c5ec3c10b (diff)
downloadthrift-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.py2
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'}