From b9d6d50085f73f88427011fe9479a20fa6d5ab8f Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Mon, 26 Aug 2024 21:39:36 +0300 Subject: [PATCH] bytebeat_compiler.py: fix grammar --- bytebeat_compiler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index b8c81e6..1f045ef 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -205,7 +205,7 @@ if __name__ == "__main__": bytebeat_contents = read_from_file_or_stdin(args.file).strip() if not bytebeat_contents: - raise SystemExit("No valid contents") + raise SystemExit("Empty file or STDIN") # - Parse arguments from file used_parameter_line = False @@ -357,7 +357,7 @@ if __name__ == "__main__": }, read_file(PATHS["template"]), args.show_substituted_values)) if is_cmd_unavailable(CC): - print(f"Compiler {CC} not available, searching:") + print(f"Compiler {CC} is not available, searching:") still_unavailable = True for compiler in CC_SEARCH_LIST: @@ -372,7 +372,7 @@ if __name__ == "__main__": if still_unavailable: raise SystemExit("Could not find an available compiler. Please " - "specify it by setting\nenvironmental variable " + "specify it by setting\nan environmental variable " "CC.") # Compile