mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
Thrift-1373: Fix user-defined exception generation in thrift (python)
Client: py Patch: Dave Watson forgotten include of TException in py imports section git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1180119 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
581481f232
commit
2361dd1711
@ -406,7 +406,7 @@ string t_py_generator::py_autogen_comment() {
|
||||
*/
|
||||
string t_py_generator::py_imports() {
|
||||
return
|
||||
string("from thrift.Thrift import TType, TMessageType");
|
||||
string("from thrift.Thrift import TType, TMessageType, TException");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user