mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 20:12:33 +01:00
Remove deprecated list_format_{album|item} config
It was deprecated in f14f47f059 on 2015-03-04.
This commit is contained in:
parent
be8fe8753c
commit
ffa4dfaac0
2 changed files with 2 additions and 14 deletions
|
|
@ -1121,20 +1121,6 @@ def _configure(options):
|
|||
else:
|
||||
log.set_global_level(logging.INFO)
|
||||
|
||||
# Compatibility from list_format_{item,album} to format_{item,album}
|
||||
for elem in ('item', 'album'):
|
||||
old_key = 'list_format_{0}'.format(elem)
|
||||
if config[old_key].exists():
|
||||
new_key = 'format_{0}'.format(elem)
|
||||
log.warning(
|
||||
u'Warning: configuration uses "{0}" which is deprecated'
|
||||
u' in favor of "{1}" now that it affects all commands. '
|
||||
u'See changelog & documentation.',
|
||||
old_key,
|
||||
new_key,
|
||||
)
|
||||
config[new_key].set(config[old_key])
|
||||
|
||||
config_path = config.user_config_path()
|
||||
if os.path.isfile(config_path):
|
||||
log.debug(u'user configuration: {0}',
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ UI Change:
|
|||
Deprecated configuration optional removals:
|
||||
|
||||
* Remove top level ``colors`` configuration option.
|
||||
* Remove deprecated ``list_format_album`` and ``list_format_item``
|
||||
configuration options.
|
||||
|
||||
The are a couple of small new features:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue