commit | 2361dd17114d1b5211ca4afd7fde03a9ea95b83a | [log] [tgz] |
---|---|---|
author | Jake Farrell <jfarrell@apache.org> | Fri Oct 07 17:41:48 2011 +0000 |
committer | Jake Farrell <jfarrell@apache.org> | Fri Oct 07 17:41:48 2011 +0000 |
tree | 8b66af045b45b27975c3ff7b2cf5c524608f589d | |
parent | 581481f232be3f70945f2333c9a53ae5ea5346f8 [diff] |
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
diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc index 1a75fd8..a2ea8b0 100644 --- a/compiler/cpp/src/generate/t_py_generator.cc +++ b/compiler/cpp/src/generate/t_py_generator.cc
@@ -406,7 +406,7 @@ */ string t_py_generator::py_imports() { return - string("from thrift.Thrift import TType, TMessageType"); + string("from thrift.Thrift import TType, TMessageType, TException"); } /**