From 3053ba09e003bb7a40988637ff5f04488b21984e Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Mon, 4 Jul 2011 21:13:46 +0200 Subject: [PATCH] Typo fix :) --- mopidy/frontends/mpd/__init__.py | 2 +- mopidy/utils/network.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy/frontends/mpd/__init__.py b/mopidy/frontends/mpd/__init__.py index 4599b31a..65299e9d 100644 --- a/mopidy/frontends/mpd/__init__.py +++ b/mopidy/frontends/mpd/__init__.py @@ -56,7 +56,7 @@ class MpdSession(network.LineProtocol): def on_start(self): self.send_lines([u'OK MPD %s' % protocol.VERSION]) - def on_line_recieved(self, line): + def on_line_received(self, line): self.send_lines(self.dispatcher.handle_request(line)) def close(self): diff --git a/mopidy/utils/network.py b/mopidy/utils/network.py index 69eaac2a..50c7bfab 100644 --- a/mopidy/utils/network.py +++ b/mopidy/utils/network.py @@ -89,7 +89,7 @@ class LineProtocol(ThreadingActor): self.host, self.port = addr[:2] self.recv_buffer = '' - def on_line_recieved(self, line): + def on_line_received(self, line): raise NotImplemented def on_receive(self, message): @@ -102,7 +102,7 @@ class LineProtocol(ThreadingActor): for line in self.parse_lines(message['received']): line = self.decode(line) self.log_request(line) - self.on_line_recieved(line) + self.on_line_received(line) def on_stop(self): try: