libs: replace libs.toml.dict_to_toml with libs.faults.resolve_faults
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-24 09:39:08 +02:00
parent 4e175e998e
commit 2667a2c00d
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 8 additions and 21 deletions

6
libs/faults.py Normal file
View file

@ -0,0 +1,6 @@
from json import loads, dumps
from bundlewrap.metadata import metadata_to_json
def resolve_faults(dictionary: dict) -> dict:
return loads(metadata_to_json(dictionary))