summaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/compiler/python_generator_helpers.h
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/grpc/src/compiler/python_generator_helpers.h
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/src/compiler/python_generator_helpers.h')
-rw-r--r--contrib/libs/grpc/src/compiler/python_generator_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/grpc/src/compiler/python_generator_helpers.h b/contrib/libs/grpc/src/compiler/python_generator_helpers.h
index 78e7efd7e0d..f6fe2dae7e9 100644
--- a/contrib/libs/grpc/src/compiler/python_generator_helpers.h
+++ b/contrib/libs/grpc/src/compiler/python_generator_helpers.h
@@ -81,7 +81,7 @@ TString ModuleAlias(const TString& filename,
const TString& import_prefix,
const std::vector<TString>& prefixes_to_filter) {
TString module_name =
- ModuleName(filename, import_prefix, prefixes_to_filter);
+ ModuleName(filename, import_prefix, prefixes_to_filter);
// We can't have dots in the module name, so we replace each with _dot_.
// But that could lead to a collision between a.b and a_dot_b, so we also
// duplicate each underscore.
@@ -109,7 +109,7 @@ bool GetModuleAndMessagePath(
TString module;
if (generator_file_name != file_name || generate_in_pb2_grpc) {
- module = ModuleAlias(file_name, import_prefix, prefixes_to_filter) + ".";
+ module = ModuleAlias(file_name, import_prefix, prefixes_to_filter) + ".";
} else {
module = "";
}