No need to close the socket when you're told that the socket is closed

This commit is contained in:
Stein Magnus Jodal 2011-06-07 23:48:00 +02:00
parent 474805c9be
commit e09729fe77

View File

@ -39,7 +39,3 @@ class MpdServer(asyncore.dispatcher):
logger.info(u'MPD client connection from [%s]:%s',
client_socket_address[0], client_socket_address[1])
MpdSession(self, client_socket, client_socket_address)
def handle_close(self):
"""Called by asyncore when the socket is closed."""
self.close()