mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 10:21:05 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ def update_wiki(apps, sortedids, apks):
|
||||||
if app.Disabled:
|
if app.Disabled:
|
||||||
wikidata += '{{Disabled|' + app.Disabled + '}}\n'
|
wikidata += '{{Disabled|' + app.Disabled + '}}\n'
|
||||||
if app.AntiFeatures:
|
if app.AntiFeatures:
|
||||||
for af in app.AntiFeatures:
|
for af in sorted(app.AntiFeatures):
|
||||||
wikidata += '{{AntiFeature|' + af + '}}\n'
|
wikidata += '{{AntiFeature|' + af + '}}\n'
|
||||||
if app.RequiresRoot:
|
if app.RequiresRoot:
|
||||||
requiresroot = 'Yes'
|
requiresroot = 'Yes'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue