This commit is contained in:
Kovid Goyal 2015-01-07 22:37:10 +05:30
parent e94e7630fa
commit 19be8cd0c0

View File

@ -11,6 +11,8 @@ from contextlib import closing
from calibre import get_proxies from calibre import get_proxies
from calibre.constants import ispy3 from calibre.constants import ispy3
# On OS X PROTOCOL_TLSv1_2 is not available because the SSL library shipped
# with OS X is too old
has_ssl_verify = sys.version_info[:3] > (2, 7, 8) has_ssl_verify = sys.version_info[:3] > (2, 7, 8)
class HTTPError(ValueError): class HTTPError(ValueError):