From fb933ebafde059a896f9511ccb833c8256c7a51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 3 Apr 2014 16:05:15 +0200 Subject: [PATCH] Make pylint happy about re-using the 'added' var --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 99abe9f8..205beccf 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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