Read YAML config after config.val is ready
This means we can (at least somewhat) validate aliases in configtypes.Command.
This commit is contained in:
parent
0ed0a6db57
commit
e7ba56cb2c
@ -531,7 +531,6 @@ def init(parent=None):
|
||||
|
||||
config = Config(parent)
|
||||
config.read_configdata()
|
||||
config.read_yaml()
|
||||
objreg.register('config', config)
|
||||
|
||||
config_commands = ConfigCommands(config)
|
||||
@ -544,5 +543,6 @@ def init(parent=None):
|
||||
|
||||
for cf in _change_filters:
|
||||
cf.validate()
|
||||
config.read_yaml()
|
||||
|
||||
configfiles.init(instance)
|
||||
|
Loading…
Reference in New Issue
Block a user