From: Benjamin Peterson Date: Sun, 30 Nov 2014 04:06:06 +0000 (-0500) Subject: this is why tests are great X-Git-Tag: v2.7.9~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee44314f9309b7b89dd5a7d897f0f917e9e47b1a;p=python this is why tests are great --- 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] ##