collector.py: mirage -> moment

This commit is contained in:
Newbyte 2022-01-24 15:37:00 +01:00
parent 484855c452
commit 890a84ddfa
No known key found for this signature in database
GPG Key ID: 5873C171C9429CFA

View File

@ -1,7 +1,7 @@
import json import json
import yaml import yaml
with open("mirage.flatpak.base.yaml") as f: with open("moment.flatpak.base.yaml") as f:
base = yaml.load(f, Loader=yaml.FullLoader) base = yaml.load(f, Loader=yaml.FullLoader)
with open("flatpak-pip.json") as f: with open("flatpak-pip.json") as f:
@ -28,5 +28,5 @@ for i in range(len(base["modules"])):
base["modules"] = base["modules"][:i] + front + back + base["modules"][i+1:] base["modules"] = base["modules"][:i] + front + back + base["modules"][i+1:]
with open("mirage.flatpak.yaml", "w") as f: with open("moment.flatpak.yaml", "w") as f:
f.write(yaml.dump(base, sort_keys=False, indent=2)) f.write(yaml.dump(base, sort_keys=False, indent=2))