From 50be7c6f582b6f4857e7f019f2e5b6061b835e1a Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Fri, 15 Mar 2024 09:06:35 -0700 Subject: [PATCH] Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf Python gencode. PiperOrigin-RevId: 616147987 --- src/google/protobuf/compiler/python/generator.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/google/protobuf/compiler/python/generator.cc b/src/google/protobuf/compiler/python/generator.cc index 03f21ba00dddb..d09c2d03da8e6 100644 --- a/src/google/protobuf/compiler/python/generator.cc +++ b/src/google/protobuf/compiler/python/generator.cc @@ -353,6 +353,9 @@ void Generator::PrintTopBoilerplate() const { printer_->Print( "# -*- coding: utf-8 -*-\n" "# Generated by the protocol buffer compiler. DO NOT EDIT!\n" + "# NO CHECKED-IN PROTOBUF " + // Intentional line breaker + "GENCODE\n" "# source: $filename$\n", "filename", file_->name()); if (opensource_runtime_) {