TApplicationException.__str__() refers to class constants as globals
--------------------------------------------------------------------

                 Key: THRIFT-824
                 URL: https://issues.apache.org/jira/browse/THRIFT-824
             Project: Thrift
          Issue Type: Bug
          Components: Library (Python)
            Reporter: Peter Schuller
         Attachments: TApplicationException.patch

str():ing a TApplicationException that does not have a message yields:

   NameError: global name 'INVALID_MESSAGE_TYPE' is not defined

The attached patch (assuming JIRA asks me for one after I submit this one) is 
the trivial fix.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to