mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-07 07:50:28 +03:00
Small fixes, no change in behaviour
This commit is contained in:
parent
f35d965d2a
commit
7d20141957
1 changed files with 13 additions and 12 deletions
|
|
@ -79,7 +79,7 @@ valuetypes = {
|
||||||
[ 'vercode' ]),
|
[ 'vercode' ]),
|
||||||
|
|
||||||
'http' : FieldType("HTTP link",
|
'http' : FieldType("HTTP link",
|
||||||
r'^http[s]?://.+$', None,
|
r'^http[s]?://', None,
|
||||||
[ "Web Site", "Source Code", "Issue Tracker", "Donate" ], []),
|
[ "Web Site", "Source Code", "Issue Tracker", "Donate" ], []),
|
||||||
|
|
||||||
'bitcoin' : FieldType("Bitcoin address",
|
'bitcoin' : FieldType("Bitcoin address",
|
||||||
|
|
@ -672,7 +672,8 @@ def write_metadata(dest, app):
|
||||||
'preassemble', 'bindir', 'antcommand', 'novcheck']
|
'preassemble', 'bindir', 'antcommand', 'novcheck']
|
||||||
|
|
||||||
def write_builditem(key, value):
|
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 key in valuetypes['bool'].attrs:
|
||||||
if not value:
|
if not value:
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue