From 1b362c21832ed6f1adf3c4e6625d9f23a6c216bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Tue, 4 Jul 2017 13:27:45 +0200 Subject: [PATCH] correct yaml-rewriting for buildozer flag --- fdroidserver/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index f63349de..ac97edf3 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -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':