diff options
author | Devtools Arcadia <arcadia-devtools@yandex-team.ru> | 2022-02-07 18:08:42 +0300 |
---|---|---|
committer | Devtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net> | 2022-02-07 18:08:42 +0300 |
commit | 1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch) | |
tree | e26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/python/mypy-protobuf/patches/01-arcadia.patch | |
download | ydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz |
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/python/mypy-protobuf/patches/01-arcadia.patch')
-rw-r--r-- | contrib/python/mypy-protobuf/patches/01-arcadia.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/python/mypy-protobuf/patches/01-arcadia.patch b/contrib/python/mypy-protobuf/patches/01-arcadia.patch new file mode 100644 index 00000000000..6f718593f33 --- /dev/null +++ b/contrib/python/mypy-protobuf/patches/01-arcadia.patch @@ -0,0 +1,20 @@ +--- contrib/python/mypy-protobuf/mypy_protobuf/main.py (index) ++++ contrib/python/mypy-protobuf/mypy_protobuf/main.py (working tree) +@@ -989,8 +989,6 @@ def generate_mypy_stubs( + output = response.file.add() + output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2.pyi" + output.content = HEADER + pkg_writer.write() +- if not quiet: +- print("Writing mypy to", output.name, file=sys.stderr) + + + def generate_mypy_grpc_stubs( +@@ -1017,8 +1015,6 @@ def generate_mypy_grpc_stubs( + output = response.file.add() + output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2_grpc.pyi" + output.content = HEADER + pkg_writer.write() +- if not quiet: +- print("Writing mypy to", output.name, file=sys.stderr) + + + @contextmanager |