1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: add message after checking Curl symbols: "all good" or number of errors

This commit is contained in:
Sébastien Helleu
2023-01-05 07:48:08 +01:00
parent bcba2d4d7c
commit c7f5cd462f
+2
View File
@@ -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