From: Kristján Valur Jónsson Date: Mon, 24 Aug 2009 11:39:31 +0000 (+0000) Subject: issue 6769 X-Git-Tag: v2.7a1~628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68b0731b94afc3f60712d9f1796af969403c022e;p=python issue 6769 fix a mistake in instantiatiating the HTTPSConnection class. --- diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 8ab7dca0c6..c7971cc4cf 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] ##