summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpclib.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-11-30 04:06:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-11-30 04:06:06 (GMT)
commitee44314f9309b7b89dd5a7d897f0f917e9e47b1a (patch)
tree9ed80fefc1ea1455e6ac3c379af6d69530febb90 /Lib/xmlrpclib.py
parentefa3cf84d2a05650a7d2e83a4914b66f7d0a65be (diff)
downloadcpython-ee44314f9309b7b89dd5a7d897f0f917e9e47b1a.zip
cpython-ee44314f9309b7b89dd5a7d897f0f917e9e47b1a.tar.gz
cpython-ee44314f9309b7b89dd5a7d897f0f917e9e47b1a.tar.bz2
this is why tests are great
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r--Lib/xmlrpclib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index f5682c9..5354ec2 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]
##