From c7f5cd462f58792a55f81988695b797ea3ec3cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 5 Jan 2023 07:48:08 +0100 Subject: [PATCH] core: add message after checking Curl symbols: "all good" or number of errors --- tools/check_curl_symbols.py | 2 ++ 1 file changed, 2 insertions(+) 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