From 6a0b5c414cacbf04fd73fc598720a4fc20ec4fc9 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 18 Nov 2010 17:08:48 +0000 Subject: Code Changes as per review comments by Antoine Pitrou. --- Lib/xmlrpc/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/xmlrpc/client.py') diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py index b8559651e8..4de4c2b27d 100644 --- a/Lib/xmlrpc/client.py +++ b/Lib/xmlrpc/client.py @@ -1330,7 +1330,7 @@ class SafeTransport(Transport): if self._connection and host == self._connection[0]: return self._connection[1] - if not hasattr(http.client, "ssl"): + if not hasattr(http.client, "HTTPSConnection"): raise NotImplementedError( "your version of http.client doesn't support HTTPS") # create a HTTPS connection object from a host descriptor -- cgit v1.2.1