Commit 3aee9548 authored by Denis Bilenko's avatar Denis Bilenko

httplib: fix a typo in connect() (left over from porting from trunk)

parent c33ed332
...@@ -200,7 +200,7 @@ class HTTPConnection(object): ...@@ -200,7 +200,7 @@ class HTTPConnection(object):
if self.debuglevel > 0: if self.debuglevel > 0:
print 'connect: (%s, %u)' % (self.host, self.port) print 'connect: (%s, %u)' % (self.host, self.port)
self.conn = core.http_connection.new(self.host, self.port, get_hub().reactor) self.conn = core.http_connection.new(self.host, self.port)
if self.timeout is not None: if self.timeout is not None:
self.conn.set_timeout(int(min(1, self.timeout))) self.conn.set_timeout(int(min(1, self.timeout)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment