Minor patch

This commit is contained in:
Miroslav Stampar 2016-01-24 22:05:08 +01:00
parent c6c5a937f9
commit c34eaa1ce8

View File

@ -1037,10 +1037,10 @@ def _setSocketPreConnect():
s._connect(address) s._connect(address)
with kb.locks.socket: with kb.locks.socket:
socket._ready[key].append(s._sock) socket._ready[key].append(s._sock)
except socket.error:
pass
except KeyboardInterrupt: except KeyboardInterrupt:
break break
except:
pass
finally: finally:
time.sleep(0.01) time.sleep(0.01)