Remove deprecated list_format_{album|item} config

It was deprecated in f14f47f059 on 2015-03-04.
This commit is contained in:
Johnny Robeson 2016-09-25 23:28:44 -04:00
parent be8fe8753c
commit ffa4dfaac0
2 changed files with 2 additions and 14 deletions

View file

@ -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}',

View file

@ -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: