summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-08-24 11:39:31 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-08-24 11:39:31 (GMT)
commit68b0731b94afc3f60712d9f1796af969403c022e (patch)
treee03e24131c4c5f328e783be1198bb0b590814a5a /Lib
parent1a46267bd2ef9f6a7f03ffd8ede322df2b03c825 (diff)
downloadcpython-68b0731b94afc3f60712d9f1796af969403c022e.zip
cpython-68b0731b94afc3f60712d9f1796af969403c022e.tar.gz
cpython-68b0731b94afc3f60712d9f1796af969403c022e.tar.bz2
issue 6769
fix a mistake in instantiatiating the HTTPSConnection class.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xmlrpclib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 8ab7dca..c7971cc 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -1488,7 +1488,7 @@ class SafeTransport(Transport):
)
else:
chost, self._extra_headers, x509 = self.get_host_info(host)
- self._connection = host, HTTPSConnection(chost, None, **(x509 or {}))
+ self._connection = host, HTTPS(chost, None, **(x509 or {}))
return self._connection[1]
##