Skip to content

Commit b8eeefe

Browse files
Adam Cozzettecopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 620116943
1 parent 539cf49 commit b8eeefe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/google/protobuf/compiler/python/generator.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,7 @@ GeneratorOptions Generator::ParseParameter(absl::string_view parameter,
192192
ParseGeneratorParameter(parameter, &option_pairs);
193193

194194
for (const std::pair<std::string, std::string>& option : option_pairs) {
195-
if (!opensource_runtime_ &&
196-
option.first == "no_enforce_api_compatibility") {
197-
// TODO: remove this legacy option, it has no effect.
198-
} else if (!opensource_runtime_ && option.first == "bootstrap") {
195+
if (!opensource_runtime_ && option.first == "bootstrap") {
199196
options.bootstrap = true;
200197
} else if (option.first == "pyi_out") {
201198
options.generate_pyi = true;

0 commit comments

Comments
 (0)