summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Mackenzie <jonmac1@gmail.com>2020-09-15 01:41:07 +0930
committerGitHub <noreply@github.com>2020-09-14 09:11:07 -0700
commit304f50b39fbb1f6a66c1bb76cf88a135d015fda9 (patch)
tree3b2eba96cc850b1968419da3baa94b88306ffb91
parent413377bbbcacbf0b8db5ff456d71ef5fe3a9c2e3 (diff)
downloadthrift-304f50b39fbb1f6a66c1bb76cf88a135d015fda9.tar.gz
Fixed double newline at end of generated python service files (#2236)
Generated python files have a blank line at the end of files, except for service files where there are two blank lines, this change makes these service files consistent. This change is trivial and thus does not require a ticket.
-rw-r--r--compiler/cpp/src/thrift/generate/t_py_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cpp/src/thrift/generate/t_py_generator.cc b/compiler/cpp/src/thrift/generate/t_py_generator.cc
index 224ff6aaa..fe40fc2dd 100644
--- a/compiler/cpp/src/thrift/generate/t_py_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_py_generator.cc
@@ -1172,7 +1172,7 @@ void t_py_generator::generate_service(t_service* tservice) {
// Close service file
f_service_ << "fix_spec(all_structs)" << endl
- << "del all_structs" << endl << endl;
+ << "del all_structs" << endl;
f_service_.close();
}