mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
correct yaml-rewriting for buildozer flag
This commit is contained in:
parent
0980fb4df8
commit
1b362c2183
1 changed files with 2 additions and 2 deletions
|
@ -837,7 +837,7 @@ def post_metadata_parse(app):
|
|||
elif v == [False]:
|
||||
return ['no']
|
||||
|
||||
_bool_allowed = ('disable', 'kivy', 'maven')
|
||||
_bool_allowed = ('disable', 'kivy', 'maven', 'buildozer')
|
||||
|
||||
builds = []
|
||||
if 'builds' in app:
|
||||
|
@ -1063,7 +1063,7 @@ def write_yaml(mf, app):
|
|||
value = getattr(build, field)
|
||||
if field == 'gradle' and value == ['off']:
|
||||
value = [ruamel.yaml.scalarstring.SingleQuotedScalarString('off')]
|
||||
if field in ('disable', 'kivy', 'maven'):
|
||||
if field in ('disable', 'kivy', 'maven', 'buildozer'):
|
||||
if value == 'no':
|
||||
continue
|
||||
elif value == 'yes':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue