diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-05 07:48:08 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-05 07:48:08 +0100 |
commit | c7f5cd462f58792a55f81988695b797ea3ec3cfe (patch) | |
tree | 6556af53205bf03896b3606bc3c3dd4c08be46bd /tools | |
parent | bcba2d4d7c9950f87123edae6caa54069fecd519 (diff) | |
download | weechat-c7f5cd462f58792a55f81988695b797ea3ec3cfe.zip |
core: add message after checking Curl symbols: "all good" or number of errors
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check_curl_symbols.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/check_curl_symbols.py b/tools/check_curl_symbols.py index deeb6de2a..32749bf65 100755 --- a/tools/check_curl_symbols.py +++ b/tools/check_curl_symbols.py @@ -269,6 +269,8 @@ def main() -> int: sys.exit("FATAL: failed to read Curl symbols on standard input") weechat_curl_symbols, errors = get_weechat_curl_symbols() errors += check_symbols(weechat_curl_symbols, curl_symbols) + dict_err = {0: "all good!", 1: "1 error"} + print("Curl symbols:", dict_err.get(errors, f"{errors} errors")) return errors |