You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2011/10/07 19:41:48 UTC
svn commit: r1180119 -
/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc
Author: jfarrell
Date: Fri Oct 7 17:41:48 2011
New Revision: 1180119
URL: http://svn.apache.org/viewvc?rev=1180119&view=rev
Log:
Thrift-1373: Fix user-defined exception generation in thrift (python)
Client: py
Patch: Dave Watson
forgotten include of TException in py imports section
Modified:
thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc
Modified: thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc
URL: http://svn.apache.org/viewvc/thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc?rev=1180119&r1=1180118&r2=1180119&view=diff
==============================================================================
--- thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc (original)
+++ thrift/trunk/compiler/cpp/src/generate/t_py_generator.cc Fri Oct 7 17:41:48 2011
@@ -406,7 +406,7 @@ string t_py_generator::py_autogen_commen
*/
string t_py_generator::py_imports() {
return
- string("from thrift.Thrift import TType, TMessageType");
+ string("from thrift.Thrift import TType, TMessageType, TException");
}
/**