01-arcadia.patch 807 B

1234567891011121314151617181920
  1. --- contrib/python/mypy-protobuf/mypy_protobuf/main.py (index)
  2. +++ contrib/python/mypy-protobuf/mypy_protobuf/main.py (working tree)
  3. @@ -938,8 +938,6 @@ def generate_mypy_stubs(
  4. output = response.file.add()
  5. output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2.pyi"
  6. output.content = pkg_writer.write()
  7. - if not quiet:
  8. - print("Writing mypy to", output.name, file=sys.stderr)
  9. def generate_mypy_grpc_stubs(
  10. @@ -964,8 +962,6 @@ def generate_mypy_grpc_stubs(
  11. output = response.file.add()
  12. output.name = fd.name[:-6].replace("-", "_").replace(".", "/") + "_pb2_grpc.pyi"
  13. output.content = pkg_writer.write()
  14. - if not quiet:
  15. - print("Writing mypy to", output.name, file=sys.stderr)
  16. @contextmanager