Show More
@@ -327,7 +327,9 b' if has_https:' | |||||
327 | self.cert_file = cert_file |
|
327 | self.cert_file = cert_file | |
328 |
|
328 | |||
329 | def connect(self): |
|
329 | def connect(self): | |
330 |
self.sock = socket.create_connection( |
|
330 | self.sock = socket.create_connection( | |
|
331 | (self.host, self.port), self.timeout | |||
|
332 | ) | |||
331 |
|
333 | |||
332 | host = self.host |
|
334 | host = self.host | |
333 | realhostport = self.realhostport # pytype: disable=attribute-error |
|
335 | realhostport = self.realhostport # pytype: disable=attribute-error |
General Comments 0
You need to be logged in to leave comments.
Login now