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:
Hans-Christoph Steiner 2017-09-15 21:48:45 +02:00
parent 53e4ec47a7
commit 255932453c
3 changed files with 5 additions and 5 deletions

View file

@ -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