mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'indent' into 'master'
metadata: set mapping indentation to 2 Closes #1154 See merge request fdroid/fdroidserver!1385
This commit is contained in:
commit
38c0463bd0
6 changed files with 41 additions and 41 deletions
|
|
@ -1267,7 +1267,7 @@ def write_yaml(mf, app):
|
|||
_del_duplicated_NoSourceSince(app)
|
||||
yaml_app = _app_to_yaml(app)
|
||||
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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue