diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2019-09-04 14:04:15 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-09-07 08:54:50 +0700 |
commit | 33649e14007ba3e3252684bd842e81dc9ce39505 (patch) | |
tree | 624fd029e36373662c43b1e9dac14db44f12e4ae /python/httplib2/ssl_hostname.diff | |
parent | 34eea2bf77f3dee3c4fd47c78f715a072eb656c8 (diff) |
python/httplib2: Updated for version 0.11.3, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/httplib2/ssl_hostname.diff')
-rw-r--r-- | python/httplib2/ssl_hostname.diff | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/python/httplib2/ssl_hostname.diff b/python/httplib2/ssl_hostname.diff deleted file mode 100644 index 964a1ec77470a..0000000000000 --- a/python/httplib2/ssl_hostname.diff +++ /dev/null @@ -1,21 +0,0 @@ -diff -r 93291649202b python2/httplib2/__init__.py ---- a/python2/httplib2/__init__.py Tue Mar 26 14:17:48 2013 -0400 -+++ b/python2/httplib2/__init__.py Tue Apr 23 10:32:15 2013 +0300 -@@ -1030,7 +1030,7 @@ - raise CertificateHostnameMismatch( - 'Server presented certificate that does not match ' - 'host %s: %s' % (hostname, cert), hostname, cert) -- except ssl_SSLError, e: -+ except (ssl_SSLError, CertificateHostnameMismatch), e: - if sock: - sock.close() - if self.sock: -@@ -1040,7 +1040,7 @@ - # to get at more detailed error information, in particular - # whether the error is due to certificate validation or - # something else (such as SSL protocol mismatch). -- if e.errno == ssl.SSL_ERROR_SSL: -+ if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL: - raise SSLHandshakeError(e) - else: - raise |