From 26155d1d402f05b915e7831df1c35b6c65372d4f Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 7 Jul 2011 23:57:20 +0200 Subject: [PATCH] Fix s/listener/server/ in docs --- mopidy/utils/network.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy/utils/network.py b/mopidy/utils/network.py index 1bee3ba1..69033cea 100644 --- a/mopidy/utils/network.py +++ b/mopidy/utils/network.py @@ -43,7 +43,7 @@ def format_hostname(hostname): return hostname class Server(object): - """Setup listener and register it with gobject loop.""" + """Setup listener and register it with gobject's event loop.""" def __init__(self, host, port, protocol): self.protocol = protocol @@ -104,7 +104,7 @@ class LineProtocol(ThreadingActor): """ Base class for handling line based protocols. - Takes care of receiving new data from listener's client code, decoding and + Takes care of receiving new data from server's client code, decoding and then splitting data along line boundaries. """ @@ -131,7 +131,7 @@ class LineProtocol(ThreadingActor): raise NotImplemented def on_receive(self, message): - """Handle messages with new data from listener.""" + """Handle messages with new data from server.""" if 'received' not in message: return