From 6b7665210c4c7314859cdd7cfa7dbc10e71e1a34 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Fri, 20 Jun 2014 23:14:48 +0200 Subject: [PATCH] mpd: Remove old exception handling. This is a leftover from the old dispatcher code that was missed in the refactor. The call() will never raise a LookupError for missing commands. --- mopidy/mpd/dispatcher.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mopidy/mpd/dispatcher.py b/mopidy/mpd/dispatcher.py index ac584b35..3ca255bf 100644 --- a/mopidy/mpd/dispatcher.py +++ b/mopidy/mpd/dispatcher.py @@ -169,8 +169,6 @@ class MpdDispatcher(object): if exc.command is None: exc.command = tokens[0] raise - except LookupError: - raise exceptions.MpdUnknownCommand(command=tokens[0]) def _format_response(self, response): formatted_response = []