From 68b0731b94afc3f60712d9f1796af969403c022e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Valur=20J=C3=B3nsson?= Date: Mon, 24 Aug 2009 11:39:31 +0000 Subject: [PATCH] issue 6769 fix a mistake in instantiatiating the HTTPSConnection class. --- Lib/xmlrpclib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 8ab7dca0c65..c7971cc4cfb 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] ##