/[ports]/head/net/py-libcloud/files/patch-libcloud_httplib__ssl.py
ViewVC logotype

Contents of /head/net/py-libcloud/files/patch-libcloud_httplib__ssl.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389589 - (show annotations) (download)
Sun Jun 14 05:21:02 2015 UTC (9 years ago) by novel
File MIME type: text/plain
File size: 335 byte(s)
Drop usage of py-backports.ssl_match_hostname.

The net/py-libcloud port doesn't work without
security/py-backports.ssl_match_hostname being installed. But
security/py-backports.ssl_match_hostname is scheduled for deletion, so
make libcloud work without the backport.

PR:		200834
Submitted by:	swills

1 --- libcloud/httplib_ssl.py.orig 2015-02-07 21:51:40 UTC
2 +++ libcloud/httplib_ssl.py
3 @@ -23,7 +23,7 @@ import ssl
4 import base64
5 import warnings
6
7 -from backports.ssl_match_hostname import match_hostname, CertificateError
8 +from ssl import match_hostname, CertificateError
9
10 import libcloud.security
11 from libcloud.utils.py3 import b

Properties

Name Value
fbsd:nokeywords yes
svn:eol-style native
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27