File: pop-ssl-context.patch

package info (click to toggle)
python-wsgi-intercept 1.13.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 560 kB
  • sloc: python: 1,390; makefile: 57; sh: 5
file content (18 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: pop ssl_context
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1073465
Forwarded: no
Last-Update: 2024-07-09

Index: python-wsgi-intercept/wsgi_intercept/_urllib3.py
===================================================================
--- python-wsgi-intercept.orig/wsgi_intercept/_urllib3.py
+++ python-wsgi-intercept/wsgi_intercept/_urllib3.py
@@ -49,6 +49,7 @@ def make_urllib3_override(HTTPConnection
             if sys.version_info > (3, 12):
                 kwargs.pop('key_file', None)
                 kwargs.pop('cert_file', None)
+            kwargs.pop('ssl_context', None)
             WSGI_HTTPSConnection.__init__(self, *args, **kwargs)
             HTTPSConnection.__init__(self, *args, **kwargs)