mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
Fix Travis errors
I was over zealous on the brackets for formatting
This commit is contained in:
parent
65de93941d
commit
020ee2b1ed
3 changed files with 7 additions and 7 deletions
|
|
@ -377,7 +377,7 @@ def tag_album(items, search_artist=None, search_album=None,
|
|||
likelies, consensus = current_metadata(items)
|
||||
cur_artist = likelies['artist']
|
||||
cur_album = likelies['album']
|
||||
log.debug(u'Tagging {0} - {1}'.format((cur_artist, cur_album)))
|
||||
log.debug(u'Tagging {0} - {1}'.format(cur_artist, cur_album))
|
||||
|
||||
# The output result (distance, AlbumInfo) tuples (keyed by MB album
|
||||
# ID).
|
||||
|
|
|
|||
|
|
@ -636,12 +636,12 @@ class ImportTask(object):
|
|||
self.replaced_items[item] = dup_items
|
||||
for dup_item in dup_items:
|
||||
log.debug(u'replacing item {0}: {1}'
|
||||
.format((dup_item.id,
|
||||
displayable_path(item.path))))
|
||||
.format(dup_item.id,
|
||||
displayable_path(item.path)))
|
||||
dup_item.remove()
|
||||
log.debug(u'{0} of {1} items replaced'
|
||||
.format((len(self.replaced_items),
|
||||
len(self.imported_items()))))
|
||||
.format(len(self.replaced_items),
|
||||
len(self.imported_items())))
|
||||
|
||||
def choose_match(self, session):
|
||||
"""Ask the session which match should apply and apply it.
|
||||
|
|
@ -1040,7 +1040,7 @@ def query_tasks(session):
|
|||
# Search for albums.
|
||||
for album in session.lib.albums(session.query):
|
||||
log.debug(u'yielding album {0}: {1} - {2}'
|
||||
.format((album.id, album.albumartist, album.album)))
|
||||
.format(album.id, album.albumartist, album.album))
|
||||
items = list(album.items())
|
||||
|
||||
# Clear IDs from re-tagged items so they appear "fresh" when
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ class LyricsPlugin(BeetsPlugin):
|
|||
# Skip if the item already has lyrics.
|
||||
if not force and item.lyrics:
|
||||
log.log(loglevel, u'lyrics already present: {0} - {1}'
|
||||
.format((item.artist, item.title)))
|
||||
.format(item.artist, item.title))
|
||||
return
|
||||
|
||||
lyrics = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue