From d64d2c4bf6e2b6b2b34216bec38fc8b8c47dd472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 23 Feb 2017 11:59:49 +0100 Subject: [PATCH] remove exception details --- tests/test_ssl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ssl.py b/tests/test_ssl.py index d16fd6bb..44f69b82 100755 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -36,7 +36,7 @@ for s in conf_servers: url = "https://%s" % v print('Checking SSL certificate of %s' % url) requests.get(url) - except requests.exceptions.SSLError as e: - print('%sSSL certificate for %s is not valid: %s%s' % (RED, url, e, DEF)) + except requests.exceptions.SSLError: + print('%sSSL certificate for %s is not valid' % (RED, url, DEF)) all_ok = False sys.exit(int(not all_ok)) -- GitLab