Fix typo for SSL certificate use.

This commit is contained in:
Lance Stout 2011-05-27 16:39:45 -07:00
parent b81ab97900
commit 6997b2fbf8

View file

@ -323,7 +323,7 @@ class XMLStream(object):
ssl_socket = ssl.wrap_socket(self.socket, ssl_socket = ssl.wrap_socket(self.socket,
ca_certs=self.ca_certs, ca_certs=self.ca_certs,
certs_reqs=cert_policy) cert_reqs=cert_policy)
if hasattr(self.socket, 'socket'): if hasattr(self.socket, 'socket'):
# We are using a testing socket, so preserve the top # We are using a testing socket, so preserve the top