repo_config: switch to .yaml
This commit is contained in:
parent
d77adf9b21
commit
4517201118
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ class ReposConfigFile(DataClass):
|
|||
def parse_config(path: str) -> ReposConfigFile:
|
||||
try:
|
||||
with open(path, 'r') as fd:
|
||||
data = toml.load(fd)
|
||||
data = yaml.safe_load(fd)
|
||||
data['_path'] = path
|
||||
data['_checksum'] = sha256sum(path)
|
||||
return ReposConfigFile(data, validate=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue