Skip to content
Snippets Groups Projects
Commit 7ae1d6eb authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with HUP event.

parent c3e988ad
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ class SimpleRpcClient(ConnectionManager):
self.shutdown()
if event & select.EPOLLHUP:
logging.error('Socket HUP fd/%s: %s' % (fd, err))
logging.error('Socket HUP fd/%s' % fd)
self.shutdown() #TODO
def all_connections(self):
......
......@@ -100,7 +100,7 @@ class SimpleRpcServer(ConnectionManager):
self.shutdown_client(fd)
if event & select.EPOLLHUP:
logging.error('Socket HUP fd/%s: %s' % (fd, err))
logging.error('Socket HUP fd/%s' % fd)
self.shutdown_client(fd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment