1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

Small fixes, no change in behaviour

This commit is contained in:
Daniel Martí 2013-11-19 16:11:58 +01:00
parent f35d965d2a
commit 7d20141957

View File

@ -79,7 +79,7 @@ valuetypes = {
[ 'vercode' ]),
'http' : FieldType("HTTP link",
r'^http[s]?://.+$', None,
r'^http[s]?://', None,
[ "Web Site", "Source Code", "Issue Tracker", "Donate" ], []),
'bitcoin' : FieldType("Bitcoin address",
@ -672,7 +672,8 @@ def write_metadata(dest, app):
'preassemble', 'bindir', 'antcommand', 'novcheck']
def write_builditem(key, value):
if key not in ['version', 'vercode', 'origlines']:
if key in ['version', 'vercode', 'origlines']:
return
if key in valuetypes['bool'].attrs:
if not value:
return