chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0980fb4
)
correct yaml-rewriting for buildozer flag
author
Michael Pöhn
<michael.poehn@fsfe.org>
Tue, 4 Jul 2017 11:27:45 +0000
(13:27 +0200)
committer
Michael Pöhn
<michael.poehn@fsfe.org>
Tue, 4 Jul 2017 11:27:45 +0000
(13:27 +0200)
fdroidserver/metadata.py
patch
|
blob
|
history
diff --git
a/fdroidserver/metadata.py
b/fdroidserver/metadata.py
index f63349de52ac31b9b1498205edad3e650b506b2f..ac97edf3aeac9b8447fa091e82d87ea2057ababd 100644
(file)
--- 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':