X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fwebserv.py;h=291c4c4e3cccdb2c097f73ef04a14be908dd7ed8;hb=78a694ddcd2a6ecc8b2b1fd3c74ee2d938707305;hp=cc4b2b5deb250245214bea798d5019f52e5dff4a;hpb=300d9624d0c3bf2218a8df59eff689f5b78a2025;p=mpd-sima.git diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index cc4b2b5..291c4c4 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Jack Kaliko +# Copyright (c) 2009-2014 Jack Kaliko # # This file is part of sima # @@ -227,7 +227,9 @@ class WebService(Plugin): self.log.info('EXTRA ARTS: {}'.format( '/'.join([trk.artist for trk in extra_arts]))) for artist in extra_arts: - self.log.debug('Looking for artist similar to "{0.artist}" as well'.format(artist)) + self.log.debug( + 'Looking for artist similar to "{0.artist}" as well'.format( + artist)) similar = self.lfm_similar_artists(artist=artist) if not similar: return ret_extra @@ -285,7 +287,8 @@ class WebService(Plugin): # str conversion while Album type is not propagated albums = [ str(album) for album in albums] if albums: - self.log.debug('Albums candidate: {0:s}'.format(' / '.join(albums))) + self.log.debug('Albums candidate: {0:s}'.format( + ' / '.join(albums))) else: continue # albums yet in history for this artist albums = set(albums)