mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Only add AF xml element if there actually are AFs
This commit is contained in:
parent
6f01bd4b02
commit
57fde3de0f
@ -578,7 +578,8 @@ def make_index(apps, apks, repodir, archive, categories):
|
||||
# filtering can be removed in time...
|
||||
if 'UpstreamNonFree' in af:
|
||||
af.remove('UpstreamNonFree')
|
||||
addElement('antifeatures', ','.join(af), doc, apel)
|
||||
if af:
|
||||
addElement('antifeatures', ','.join(af), doc, apel)
|
||||
if app['Requires Root']:
|
||||
addElement('requirements', 'root', doc, apel)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user