diff --git a/mopidy/backends/__init__.py b/mopidy/backends/__init__.py index fc4eb6f4..f7705f64 100644 --- a/mopidy/backends/__init__.py +++ b/mopidy/backends/__init__.py @@ -46,10 +46,10 @@ class BaseBackend(object): uri_handlers = [] def destroy(self): - ''' + """ Call destroy on all sub-components in backend so that they can cleanup after themselves. - ''' + """ if self.current_playlist: self.current_playlist.destroy() @@ -227,7 +227,7 @@ class BaseCurrentPlaylistController(object): self.playlist = self.playlist.with_(tracks=before+shuffled+after) def destroy(self): - '''Cleanup after component''' + """Cleanup after component""" pass @@ -284,7 +284,7 @@ class BaseLibraryController(object): raise NotImplementedError def destroy(self): - '''Cleanup after component''' + """Cleanup after component""" pass @@ -604,7 +604,7 @@ class BasePlaybackController(object): raise NotImplementedError def destroy(self): - '''Cleanup after component''' + """Cleanup after component""" pass @@ -720,5 +720,5 @@ class BaseStoredPlaylistsController(object): return filter(lambda p: query in p.name, self._playlists) def destroy(self): - '''Cleanup after component''' + """Cleanup after component""" pass