don't need this comment

This commit is contained in:
Benoit Chesneau 2010-01-21 14:25:45 +01:00
parent 615c6a6927
commit 7d83418b60

View File

@ -29,9 +29,6 @@ def close_on_exec(fd):
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
def close(sock):
""" socket.close() doesn't *really* close if
there's another reference to it in the TCP/IP stack.
(trick from twisted)"""
try:
sock.close()
except socket.error: