1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-19 03:30:12 +02:00

Set correct defaults for Binaries metadata field

This commit is contained in:
Ciaran Gultnieks 2014-10-27 17:21:04 +00:00
parent 3f63435318
commit 872e57c8da
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ app_defaults = OrderedDict([
('Requires Root', False), ('Requires Root', False),
('Repo Type', ''), ('Repo Type', ''),
('Repo', ''), ('Repo', ''),
('Binaries', ''), ('Binaries', None),
('Maintainer Notes', []), ('Maintainer Notes', []),
('Archive Policy', None), ('Archive Policy', None),
('Auto Update Mode', 'None'), ('Auto Update Mode', 'None'),

View File

@ -119,7 +119,7 @@ def main():
sys.exit(1) sys.exit(1)
app = allapps[appid] app = allapps[appid]
if 'Binaries' in app: if app.get('Binaries', None):
# It's an app where we build from source, and verify the apk # It's an app where we build from source, and verify the apk
# contents against a developer's binary, and then publish their # contents against a developer's binary, and then publish their