-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] core: ConfigCleaner(6) load keys via the index
This commit is part of a larger refactor, see associated PR. Using the new `cli_loadable` and `file_loadable` attributes, it is possible to list all keys that were defined in the two hardcoded listings. The difference are `pg_path` and `test_enable` that were not present in the previous listing but present in the new comprehension: * pg_path was set just bellow using the same cli->file fallback logic * test_enable was reset on `bool(test_tags)` anyway... The previous code was using two (almost) identical loops with two hardcoded listing. The two loops were at first difference but d5e7247 made them basically identical, more than 10 years ago... Task-3380313
- Loading branch information
1 parent
f433ea0
commit 46b2231
Showing
1 changed file
with
5 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters