]> granicus.if.org Git - python/commitdiff
issue 6769
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 24 Aug 2009 11:39:31 +0000 (11:39 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 24 Aug 2009 11:39:31 +0000 (11:39 +0000)
fix a mistake in instantiatiating the HTTPSConnection class.

Lib/xmlrpclib.py

index 8ab7dca0c655cd2b81c0d341e62358c05bdb5538..c7971cc4cfbda34633152b58d0590c069a4e015c 100644 (file)
@@ -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]
 
 ##