-
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 hardcoded listing. The difference are `pg_path` and `test_enable` that were not present in the previous listing but present in the new comprehension: * for pg_path, it was set just bellow using the same cli->file fallback logic * for test_enable, its value is 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, almost 10 years ago.
- Loading branch information
1 parent
f5190f1
commit ca38632
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