[ 
https://issues.apache.org/jira/browse/THRIFT-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181955#comment-15181955
 ] 

ASF GitHub Bot commented on THRIFT-3708:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/920


> NameError: global name 'TProtocol' is not defined
> -------------------------------------------------
>
>                 Key: THRIFT-3708
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3708
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.10.0
>            Reporter: Chandler May
>            Assignee: Aki Sukegawa
>
> In the generated ttypes.py file a TProtocol.TProtocolException is raised from 
> the validate method but TProtocol has not been imported.  This results in a 
> NameError when the validate method is invoked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to