mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 23:23:27 +02:00
Fix regression introduced in 2831b3e93
An empty list of antifeatures should not be written.
This commit is contained in:
parent
f70d74e3e8
commit
de1c599127
@ -1047,7 +1047,8 @@ def write_metadata(dest, app):
|
||||
|
||||
mf = open(dest, 'w')
|
||||
writefield_nonempty('Disabled')
|
||||
writefield('AntiFeatures')
|
||||
if app['AntiFeatures']:
|
||||
writefield('AntiFeatures')
|
||||
writefield_nonempty('Provides')
|
||||
writefield('Categories')
|
||||
writefield('License')
|
||||
|
Loading…
Reference in New Issue
Block a user