Add `auto-gen`d comment to `_pb2_grpc.py` files

pull/9206/head
Masood Malekghassemi 8 years ago
parent ddebfa65f2
commit 0d62d7e8d7
  1. 3
      src/compiler/python_generator.cc

@ -724,6 +724,9 @@ pair<bool, grpc::string> PrivateGenerator::GetGrpcServices() {
out = &out_printer; out = &out_printer;
if (generate_in_pb2_grpc) { if (generate_in_pb2_grpc) {
out->Print(
"# Generated by the gRPC Python protocol compiler plugin. "
"DO NOT EDIT!\n");
if (!PrintPreamble()) { if (!PrintPreamble()) {
return make_pair(false, ""); return make_pair(false, "");
} }

Loading…
Cancel
Save