deprecated-setting moval should delete old setting

This commit is contained in:
Matthias
2022-03-08 06:59:30 +01:00
parent 5d4386f037
commit 420cc5c595
2 changed files with 5 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ def process_deprecated_setting(config: Dict[str, Any],
section_new_config = config.get(section_new, {}) if section_new else config
section_new_config[name_new] = section_old_config[name_old]
del section_old_config[name_old]
def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None: