Actually, 3.2 and 3.3 don't have SSLContext either. Let's recommend only ≥ 3.4.

This commit is contained in:
Valentin Lorentz 2016-02-22 18:36:53 +01:00
parent a7096f8b3e
commit 8c3946d31c
1 changed files with 1 additions and 2 deletions

View File

@ -171,7 +171,6 @@ else:
logger.critical('This Python version does not support SSL/TLS '
'certification authority verification, which makes your '
'connection vulnerable to man-in-the-middle attacks.'
'You should consider upgrading to Python 3 '
'(or at least 2.7.9).')
'You should consider upgrading to Python 3.4 or newer.')
return conn
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: