提交 34c92af4 编写于 作者: L Luca Falavigna

ls.py: let -a source display sources only (#458186)

Signed-off-by: NLuca Falavigna <dktrkranz@debian.org>
上级 d0c60646
......@@ -150,7 +150,10 @@ SELECT s.source, s.version, 'source', su.suite_name, c.name, m.name
AND s.file = f.id AND f.location = l.id AND l.component = c.id
AND s.maintainer = m.id %s
""" % (comparison_operator, con_suites), {'package': package})
ql.extend(q.fetchall())
if not Options["Architecture"] or con_architectures:
ql.extend(q.fetchall())
else:
ql = q.fetchall()
d = {}
highver = {}
for i in ql:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册