summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-01-20 22:40:51 +0100
committerDomen Kožar <domen@dev.si>2015-01-20 22:40:58 +0100
commit5cd76cd85ea4502215efa30cf619d8bce4103024 (patch)
treed6cd478d794d9ccb1e8aa92ea57deb744e89d25e /pkgs/development/python-modules
parenta94c0d2b0f63ab807f86556b40b1335b1b8965d8 (diff)
downloadnixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar.gz
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar.bz2
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar.lz
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar.xz
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.tar.zst
nixlib-5cd76cd85ea4502215efa30cf619d8bce4103024.zip
gevent: fix ssl patch
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/gevent_sslwrap.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/gevent_sslwrap.patch b/pkgs/development/python-modules/gevent_sslwrap.patch
index 6f104a638f07..10c61478bd6b 100644
--- a/pkgs/development/python-modules/gevent_sslwrap.patch
+++ b/pkgs/development/python-modules/gevent_sslwrap.patch
@@ -15,7 +15,7 @@ Index: b/gevent/ssl.py
 -                                            keyfile, certfile,
 -                                            cert_reqs, ssl_version, ca_certs,
 -                                            ciphers)
-+            ctx = SSLContext(ssl_version)
++            ctx = __ssl__.SSLContext(ssl_version)
 +            if keyfile or certfile:
 +                ctx.load_cert_chain(certfile, keyfile)
 +            if ca_certs: