diff options
author | 2021-12-20 13:48:41 +0400 | |
---|---|---|
committer | 2021-12-20 13:52:06 +0400 | |
commit | 61e701bb919d2ce54af891aa3290894dc2ab8043 (patch) | |
tree | ded148434aaaa0e94f59bc22a8b651005eabbc83 /scripts | |
parent | Bump & Lock Protobuf to 3.19 (diff) |
Rename Generated ProtoBuf Config
Remove the rename step from the protobuf generation script to get around
a bug causing failures in the test suite.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/protoc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/protoc.py b/scripts/protoc.py index 09429d3..1b28334 100755 --- a/scripts/protoc.py +++ b/scripts/protoc.py @@ -50,9 +50,8 @@ def main() -> None: file.write(response.read()) compile_proto(file_path) - # Remove the _pb suffix from the generated Python file. if generated_py := next(SRC_DIR.glob(f"{FILE_NAME}_pb*.py"), None): - generated_py.rename(generated_py.with_stem(FILE_NAME)) + print(f"Build output: {generated_py.absolute()}.") else: print(f"Could not find the generated Python file in {SRC_DIR}.", file=sys.stderr) sys.exit(1) |