appv2: fix quotes around port keys
This commit is contained in:
parent
fe068c5195
commit
953073f39b
1 changed files with 4 additions and 0 deletions
|
@ -217,6 +217,10 @@ def _dump_v2_manifest_as_toml(manifest):
|
|||
toml_manifest_dump = toml_manifest_dump.replace('"ram.runtime"', "ram.runtime")
|
||||
toml_manifest_dump = toml_manifest_dump.replace('"main.url"', "main.url")
|
||||
toml_manifest_dump = toml_manifest_dump.replace('"main.default"', "main.default")
|
||||
if "ports" in manifest["resources"]:
|
||||
for port_thing in manifest["resources"]["ports"].keys():
|
||||
toml_manifest_dump = toml_manifest_dump.replace(f'"{port_thing}"', f"{port_thing}")
|
||||
|
||||
return toml_manifest_dump
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue