mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Make pylint happy about re-using the 'added' var
This commit is contained in:
parent
0c11f7bc49
commit
fb933ebafd
@ -1355,7 +1355,7 @@ class KnownApks:
|
||||
else:
|
||||
apps[appid] = added
|
||||
sortedapps = sorted(apps.iteritems(), key=operator.itemgetter(1))[-num:]
|
||||
lst = [app for app,added in sortedapps]
|
||||
lst = [app for app,_ in sortedapps]
|
||||
lst.reverse()
|
||||
return lst
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user