You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2012/11/02 11:37:00 UTC

svn commit: r1404914 - /thrift/trunk/lib/py/src/protocol/TJSONProtocol.py

Author: roger
Date: Fri Nov  2 10:36:59 2012
New Revision: 1404914

URL: http://svn.apache.org/viewvc?rev=1404914&view=rev
Log:
THRIFT-1745 Python JSON protocol 
fix typo detected by cross language test suite

Modified:
    thrift/trunk/lib/py/src/protocol/TJSONProtocol.py

Modified: thrift/trunk/lib/py/src/protocol/TJSONProtocol.py
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/py/src/protocol/TJSONProtocol.py?rev=1404914&r1=1404913&r2=1404914&view=diff
==============================================================================
--- thrift/trunk/lib/py/src/protocol/TJSONProtocol.py (original)
+++ thrift/trunk/lib/py/src/protocol/TJSONProtocol.py Fri Nov  2 10:36:59 2012
@@ -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'}