mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-02 00:45:54 +00:00
This means mostly sorting by key:
for f in sorted(glob.glob('*.yml')) + sorted(glob.glob('[a-z]*/*.yml')):
print(f)
with open(f) as fp:
data = yaml.safe_load(fp)
with open(f, 'w') as fp:
yaml.dump(data, fp, default_flow_style=False, sort_keys=True, allow_unicode=True)
3 lines
48 B
YAML
3 lines
48 B
YAML
Beta:
|
|
description: Beta versions
|
|
name: Beta
|