1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Make pylint happy about re-using the 'added' var

This commit is contained in:
Daniel Martí 2014-04-03 16:05:15 +02:00
parent 0c11f7bc49
commit fb933ebafd

View File

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