mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
metadata: set mapping indentation to 2
This commit is contained in:
parent
c3331b1c58
commit
8188bb6bfa
6 changed files with 41 additions and 41 deletions
|
@ -1267,7 +1267,7 @@ def write_yaml(mf, app):
|
||||||
_del_duplicated_NoSourceSince(app)
|
_del_duplicated_NoSourceSince(app)
|
||||||
yaml_app = _app_to_yaml(app)
|
yaml_app = _app_to_yaml(app)
|
||||||
yaml = ruamel.yaml.YAML()
|
yaml = ruamel.yaml.YAML()
|
||||||
yaml.indent(mapping=4, sequence=4, offset=2)
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
||||||
yaml.dump(yaml_app, stream=mf)
|
yaml.dump(yaml_app, stream=mf)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue