Mercurial > hg
comparison mercurial/httpconnection.py @ 25429:9d1c61715939
ssl: rename ssl_wrap_socket() to conform to our naming convention
I've removed ssl_ prefix because the module name contains ssl.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 05 Jun 2015 21:25:28 +0900 |
parents | 18a032704f0a |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
25428:51e7acc34b0a | 25429:9d1c61715939 |
---|---|
275 kwargs['certfile'] = certfile | 275 kwargs['certfile'] = certfile |
276 | 276 |
277 kwargs.update(sslutil.sslkwargs(self.ui, host)) | 277 kwargs.update(sslutil.sslkwargs(self.ui, host)) |
278 | 278 |
279 con = HTTPConnection(host, port, use_ssl=True, | 279 con = HTTPConnection(host, port, use_ssl=True, |
280 ssl_wrap_socket=sslutil.ssl_wrap_socket, | 280 ssl_wrap_socket=sslutil.wrapsocket, |
281 ssl_validator=sslutil.validator(self.ui, host), | 281 ssl_validator=sslutil.validator(self.ui, host), |
282 **kwargs) | 282 **kwargs) |
283 return con | 283 return con |