From ffa4dfaac03a92362afa6a5f99ae4baae6cf4e72 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sun, 25 Sep 2016 23:28:44 -0400 Subject: [PATCH] Remove deprecated list_format_{album|item} config It was deprecated in https://github.com/beetbox/beets/commit/f14f47f059459118a5d3f9123c5f72a948ac3a4c on 2015-03-04. --- beets/ui/__init__.py | 14 -------------- docs/changelog.rst | 2 ++ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index 19ab8b949..ae30a9c60 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -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}', diff --git a/docs/changelog.rst b/docs/changelog.rst index a15019e2e..699a3c500 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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: