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:
b43f7be
)
Fix "no such package" search logic
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 24 Aug 2014 22:27:46 +0000
(
00:27
+0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 24 Aug 2014 22:28:18 +0000
(
00:28
+0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index aeb4e6dafffeda54d9e618154581f2d965bd176d..e5a18fc5498d2b32ecea04609510c379582ca319 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-273,9
+273,8
@@
def read_app_args(args, allapps, allow_vercodes=False):
apps[appid] = app
if len(apps) != len(vercodes):
- allids = [app["id"] for app in allapps]
for p in vercodes:
- if p not in all
id
s:
+ if p not in all
app
s:
logging.critical("No such package: %s" % p)
raise FDroidException("Found invalid app ids in arguments")
if not apps: