chiark / gitweb /
Remove redundant AntiFeatures bool check
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 4 Jan 2016 12:26:48 +0000 (13:26 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 4 Jan 2016 12:26:48 +0000 (13:26 +0100)
fdroidserver/metadata.py

index 189620802686eff3778181c1e57918e5df34e866..447063ffc382bc1340d6b752d4965e511c540cf9 100644 (file)
@@ -1231,8 +1231,7 @@ def write_plaintext_metadata(mf, app, w_comment, w_field, w_build):
             w_field(f, v)
 
     w_field_nonempty('Disabled')
-    if app.AntiFeatures:
-        w_field_always('AntiFeatures')
+    w_field_nonempty('AntiFeatures')
     w_field_nonempty('Provides')
     w_field_always('Categories')
     w_field_always('License')