Mercurial > public > mercurial-scm > hg
comparison mercurial/url.py @ 17424:e7cfe3587ea4
fix trivial spelling errors
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 15 Aug 2012 22:38:42 +0200 |
parents | 525fdb738975 |
children | 72803c8edaa4 |
comparison
equal
deleted
inserted
replaced
17406:fc14953e8e34 | 17424:e7cfe3587ea4 |
---|---|
173 def connect(self): | 173 def connect(self): |
174 if has_https and self.realhostport: # use CONNECT proxy | 174 if has_https and self.realhostport: # use CONNECT proxy |
175 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | 175 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
176 self.sock.connect((self.host, self.port)) | 176 self.sock.connect((self.host, self.port)) |
177 if _generic_proxytunnel(self): | 177 if _generic_proxytunnel(self): |
178 # we do not support client x509 certificates | 178 # we do not support client X.509 certificates |
179 self.sock = sslutil.ssl_wrap_socket(self.sock, None, None) | 179 self.sock = sslutil.ssl_wrap_socket(self.sock, None, None) |
180 else: | 180 else: |
181 keepalive.HTTPConnection.connect(self) | 181 keepalive.HTTPConnection.connect(self) |
182 | 182 |
183 def getresponse(self): | 183 def getresponse(self): |