chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c11f7b
)
Make pylint happy about re-using the 'added' var
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 3 Apr 2014 14:05:15 +0000
(16:05 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 3 Apr 2014 14:05:15 +0000
(16:05 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 99abe9f8928d96884e2f7b0ead2e9dc5ff5c7f4c..205beccfdc3b8d371c40fd1047c12d9231ec0815 100644
(file)
--- 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