commit | ee44314f9309b7b89dd5a7d897f0f917e9e47b1a | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Nov 29 23:06:06 2014 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Nov 29 23:06:06 2014 -0500 |
tree | 9ed80fefc1ea1455e6ac3c379af6d69530febb90 | |
parent | efa3cf84d2a05650a7d2e83a4914b66f7d0a65be [diff] [blame] |
this is why tests are great
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 @@ ) 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] ##