Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 620116943
  • Loading branch information
acozzette authored and copybara-github committed Mar 29, 2024
1 parent 539cf49 commit b8eeefe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/google/protobuf/compiler/python/generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ GeneratorOptions Generator::ParseParameter(absl::string_view parameter,
ParseGeneratorParameter(parameter, &option_pairs);

for (const std::pair<std::string, std::string>& option : option_pairs) {
if (!opensource_runtime_ &&
option.first == "no_enforce_api_compatibility") {
// TODO: remove this legacy option, it has no effect.
} else if (!opensource_runtime_ && option.first == "bootstrap") {
if (!opensource_runtime_ && option.first == "bootstrap") {
options.bootstrap = true;
} else if (option.first == "pyi_out") {
options.generate_pyi = true;
Expand Down

0 comments on commit b8eeefe

Please sign in to comment.