mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
sort Anti-Features before writing them to the wiki
This avoids silly updates to the wiki where the sort order of the Anti- Features is the only change: −{{AntiFeature|KnownVuln}} {{AntiFeature|DisabledAlgorithm}} +{{AntiFeature|KnownVuln}} https://f-droid.org/wiki/index.php?title=info.guardianproject.browser&curid=517&diff=189655&oldid=188037
This commit is contained in:
parent
e666cd9b35
commit
7be46d53c7
@ -132,7 +132,7 @@ def update_wiki(apps, sortedids, apks):
|
||||
if app.Disabled:
|
||||
wikidata += '{{Disabled|' + app.Disabled + '}}\n'
|
||||
if app.AntiFeatures:
|
||||
for af in app.AntiFeatures:
|
||||
for af in sorted(app.AntiFeatures):
|
||||
wikidata += '{{AntiFeature|' + af + '}}\n'
|
||||
if app.RequiresRoot:
|
||||
requiresroot = 'Yes'
|
||||
|
Loading…
Reference in New Issue
Block a user