mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Make pylint happy about re-using the 'added' var
This commit is contained in:
parent
0c11f7bc49
commit
fb933ebafd
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,7 @@ class KnownApks:
|
||||||
else:
|
else:
|
||||||
apps[appid] = added
|
apps[appid] = added
|
||||||
sortedapps = sorted(apps.iteritems(), key=operator.itemgetter(1))[-num:]
|
sortedapps = sorted(apps.iteritems(), key=operator.itemgetter(1))[-num:]
|
||||||
lst = [app for app,added in sortedapps]
|
lst = [app for app,_ in sortedapps]
|
||||||
lst.reverse()
|
lst.reverse()
|
||||||
return lst
|
return lst
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue