commit | 05ab89a1286049567e8d6ada1833a7d75179a365 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Fri Nov 02 10:36:59 2012 +0000 |
committer | Roger Meier <roger@apache.org> | Fri Nov 02 10:36:59 2012 +0000 |
tree | 371207e82c73c77855358540ecfdb9229135b3da | |
parent | 691ec0021338c143dd4444d00b87925c5ec3c10b [diff] |
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 97bc763..57872bd 100644 --- a/lib/py/src/protocol/TJSONProtocol.py +++ b/lib/py/src/protocol/TJSONProtocol.py
@@ -46,7 +46,7 @@ TType.I64: 'i64', TType.DOUBLE: 'dbl', TType.STRING: 'str', - TType.STRUCT: 'rect', + TType.STRUCT: 'rec', TType.LIST: 'lst', TType.SET: 'set', TType.MAP: 'map'}