You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Peter Schuller (JIRA)" <ji...@apache.org> on 2010/07/22 09:38:52 UTC
[jira] Created: (THRIFT-824) TApplicationException.__str__() refers
to class constants as globals
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.
[jira] Updated: (THRIFT-824) TApplicationException.__str__() refers
to class constants as globals
Posted by "Peter Schuller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Schuller updated THRIFT-824:
----------------------------------
Attachment: TApplicationException.patch
Patch to refer to constants via 'self'.
> 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.
[jira] Closed: (THRIFT-824) TApplicationException.__str__() refers
to class constants as globals
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-824.
--------------------------------
Assignee: Peter Schuller
Fix Version/s: 0.5
Resolution: Fixed
I just committed this. Thanks for the patch (and sorry for the wait).
> 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: Python - Library
> Reporter: Peter Schuller
> Assignee: Peter Schuller
> Fix For: 0.5
>
> 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.