summaryrefslogtreecommitdiff
path: root/compiler/cpp/src/generate/t_py_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cpp/src/generate/t_py_generator.cc')
-rw-r--r--compiler/cpp/src/generate/t_py_generator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc
index 343c982bd..e79e954dc 100644
--- a/compiler/cpp/src/generate/t_py_generator.cc
+++ b/compiler/cpp/src/generate/t_py_generator.cc
@@ -922,6 +922,8 @@ void t_py_generator::generate_service_interface(t_service* tservice) {
} else {
if (gen_twisted_) {
extends_if = "(Interface)";
+ } else if (gen_newstyle_) {
+ extends_if = "(object)";
}
}