mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
ensure _ is used only for gettext strings
_ is often used for variables that are ignored, this makes that a bit more explicit !338
This commit is contained in:
parent
53e4ec47a7
commit
255932453c
3 changed files with 5 additions and 5 deletions
|
@ -1656,7 +1656,7 @@ class KnownApks:
|
|||
else:
|
||||
apps[appid] = added
|
||||
sortedapps = sorted(apps.items(), key=operator.itemgetter(1))[-num:]
|
||||
lst = [app for app, _ in sortedapps]
|
||||
lst = [app for app, _ignored in sortedapps]
|
||||
lst.reverse()
|
||||
return lst
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue