Skip to content

Commit bee0a5b

Browse files
committed
Album tracks are prepended by two spaces to indent them a bit.
1 parent cc82e1c commit bee0a5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

beets/importer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ def log_files(session, task):
13051305
elif task.items:
13061306
log.info('Album {0}'.format(displayable_path(task.paths[0])))
13071307
for item in task.items:
1308-
log.info(displayable_path(item['path']))
1308+
log.info(' {0}'.format(displayable_path(item['path'])))
13091309

13101310

13111311
def group_albums(session):

test/test_importer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,9 +1599,9 @@ def test_import_album_pretend(self):
15991599

16001600
self.assertEqual(logs, [
16011601
'Album %s' % displayable_path(self.import_paths[0]),
1602-
self.import_files[0],
1602+
' %s' % self.import_files[0],
16031603
'Album %s' % displayable_path(self.import_paths[1]),
1604-
self.import_paths[1]])
1604+
' %s' % self.import_paths[1]])
16051605

16061606
def test_import_pretend_empty(self):
16071607
logs = self.__run([self.empty_path])

0 commit comments

Comments
 (0)