mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-18 21:47:19 -04:00
Only add AF xml element if there actually are AFs
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user