Commit 9c0445bc authored by Antoine Millet's avatar Antoine Millet
Browse files

RpcConnection representation doesn't display the socket fd anymore (can cause...

RpcConnection representation doesn't display the socket fd anymore (can cause a bug if the socket is closed).
parent 13bd0ea3
......@@ -84,7 +84,7 @@ class RpcConnection(object):
return cls(sock, manager, handler)
def __repr__(self):
return '<RpcConnection fd:%s>' % self.get_fd()
return '<RpcConnection object>'
def __hash__(self):
return self._sock.__hash__()
......
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