mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Only add AF xml element if there actually are AFs
This commit is contained in:
parent
588277479b
commit
2757ec60c8
1 changed files with 2 additions and 1 deletions
|
@ -578,6 +578,7 @@ def make_index(apps, apks, repodir, archive, categories):
|
||||||
# filtering can be removed in time...
|
# filtering can be removed in time...
|
||||||
if 'UpstreamNonFree' in af:
|
if 'UpstreamNonFree' in af:
|
||||||
af.remove('UpstreamNonFree')
|
af.remove('UpstreamNonFree')
|
||||||
|
if af:
|
||||||
addElement('antifeatures', ','.join(af), doc, apel)
|
addElement('antifeatures', ','.join(af), doc, apel)
|
||||||
if app['Requires Root']:
|
if app['Requires Root']:
|
||||||
addElement('requirements', 'root', doc, apel)
|
addElement('requirements', 'root', doc, apel)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue