config.ConfigStateHolder: initialize self._profile_cache in constructor
This commit is contained in:
parent
1c6689f710
commit
688f9e2375
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ class ConfigStateHolder:
|
|||
self.file_state = ConfigLoadState()
|
||||
self.runtime = RuntimeConfiguration.fromDict(CONFIG_RUNTIME_DEFAULTS | runtime_conf)
|
||||
self.runtime['arch'] = os.uname().machine
|
||||
self._profile_cache = {}
|
||||
if file_conf_path:
|
||||
self.try_load_file(file_conf_path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue