Skip to content

Commit

Permalink
Add "NO CHECKED-IN PROTOBUF GENCODE" to Protobuf Python gencode.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 616147987
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Mar 20, 2024
1 parent eec6540 commit 679531f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/google/protobuf/compiler/python/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_) {
Expand Down

0 comments on commit 679531f

Please sign in to comment.