Album tracks are prepended by two spaces to indent them a bit.

This commit is contained in:
Malte Ried 2014-12-31 11:38:03 +01:00
parent cc82e1cb43
commit bee0a5b9fe
2 changed files with 3 additions and 3 deletions

View file

@ -1305,7 +1305,7 @@ def log_files(session, task):
elif task.items:
log.info('Album {0}'.format(displayable_path(task.paths[0])))
for item in task.items:
log.info(displayable_path(item['path']))
log.info(' {0}'.format(displayable_path(item['path'])))
def group_albums(session):

View file

@ -1599,9 +1599,9 @@ class ImportPretendTest(_common.TestCase, ImportHelper):
self.assertEqual(logs, [
'Album %s' % displayable_path(self.import_paths[0]),
self.import_files[0],
' %s' % self.import_files[0],
'Album %s' % displayable_path(self.import_paths[1]),
self.import_paths[1]])
' %s' % self.import_paths[1]])
def test_import_pretend_empty(self):
logs = self.__run([self.empty_path])