Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c3d210

Browse files
committed
bug fix (reported by nightman)
1 parent 2b60304 commit 5c3d210

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ mariano <[email protected]>
373373
374374
for reporting a bug
375375

376+
377+
for reporting a bug
378+
376379
pacman730 <[email protected]>
377380
for reporting a bug
378381

extra/keepalive/keepalive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def do_open(self, http_class, req):
152152
if not h is None:
153153
try:
154154
self._start_connection(h, req)
155-
except socket.error, e:
155+
except:
156156
r = None
157157
else:
158158
try: r = h.getresponse()

0 commit comments

Comments
 (0)