[downloader:http] catch both possible SSLException instances

With pyOpenSSL installed, but disabled, the SSLError exception
would be set to the one from pyOpenSSL, which could never get raised.

This commit solves this problem by catching both, the native SSLError
exception as well as the one from pyOpenSSL (if available.1)
This commit is contained in:
Mike Fährmann
2019-12-09 20:14:25 +01:00
parent f451be48c3
commit bbbafc1c24
3 changed files with 8 additions and 5 deletions

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.12.0"
__version__ = "1.12.1-dev"