summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-18 17:11:45 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-18 17:11:45 (GMT)
commitdae5b84fe77d2a7833ceb784fe1650962be6897d (patch)
treebaee80f70f894e6b17e89f06dd682bb678f4204c /Lib/xmlrpc
parent723a7a6d93306b3b49be3b2ebe06accb8e3fd1bc (diff)
downloadcpython-dae5b84fe77d2a7833ceb784fe1650962be6897d.zip
cpython-dae5b84fe77d2a7833ceb784fe1650962be6897d.tar.gz
cpython-dae5b84fe77d2a7833ceb784fe1650962be6897d.tar.bz2
Merged revisions 86523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86523 | senthil.kumaran | 2010-11-19 01:08:48 +0800 (Fri, 19 Nov 2010) | 3 lines Code Changes as per review comments by Antoine Pitrou. ........
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py
index d7dbbcc..9357ac3 100644
--- a/Lib/xmlrpc/client.py
+++ b/Lib/xmlrpc/client.py
@@ -1178,7 +1178,7 @@ class SafeTransport(Transport):
def send_request(self, host, handler, request_body, debug):
import socket
- if not hasattr(http.client, "ssl"):
+ if not hasattr(http.client, "HTTPSConnection"):
raise NotImplementedError(
"your version of http.client doesn't support HTTPS")