From 68a671414cd2777047df5567c66b8e0c0c1c847e Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 4 Jun 2011 17:38:03 +0200 Subject: [PATCH] Update MpdServer's docstrings --- mopidy/frontends/mpd/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/frontends/mpd/server.py b/mopidy/frontends/mpd/server.py index 20e0073f..a2d9cefe 100644 --- a/mopidy/frontends/mpd/server.py +++ b/mopidy/frontends/mpd/server.py @@ -56,14 +56,14 @@ class MpdServer(asyncore.dispatcher): sys.exit(1) def handle_accept(self): - """Handle new client connection.""" + """Called by asyncore when a new client connects.""" (client_socket, client_socket_address) = self.accept() 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): - """Handle end of client connection.""" + """Called by asyncore when the socket is closed.""" self.close() def _format_hostname(self, hostname):