From 664c731f77d892f67999b03e6ed7adac940d5219 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 16 Aug 2010 23:57:23 +0200 Subject: [PATCH] Remove unused variable --- mopidy/frontends/mpd/protocol/stored_playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/frontends/mpd/protocol/stored_playlists.py b/mopidy/frontends/mpd/protocol/stored_playlists.py index 39a2e150..3d7a8710 100644 --- a/mopidy/frontends/mpd/protocol/stored_playlists.py +++ b/mopidy/frontends/mpd/protocol/stored_playlists.py @@ -94,7 +94,7 @@ def load(frontend, name): try: playlist = frontend.backend.stored_playlists.get(name=name) frontend.backend.current_playlist.append(playlist.tracks) - except LookupError as e: + except LookupError: raise MpdNoExistError(u'No such playlist', command=u'load') @handle_pattern(r'^playlistadd "(?P[^"]+)" "(?P[^"]+)"$')