Internal change

PiperOrigin-RevId: 620116943
pull/16265/head
Adam Cozzette 8 months ago committed by Copybara-Service
parent 539cf497c6
commit b8eeefe663
  1. 5
      src/google/protobuf/compiler/python/generator.cc

@ -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;

Loading…
Cancel
Save