From ee44314f9309b7b89dd5a7d897f0f917e9e47b1a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 29 Nov 2014 23:06:06 -0500 Subject: [PATCH] this is why tests are great --- Lib/xmlrpclib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index f5682c9cf0..5354ec246a 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -1497,7 +1497,7 @@ class SafeTransport(Transport): ) else: chost, self._extra_headers, x509 = self.get_host_info(host) - self._connection = host, HTTPS(chost, None, context=context, **(x509 or {})) + self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {})) return self._connection[1] ## -- 2.50.1