From 881e381569d4b016c1cb936ac8b92c57a4bc8301 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 14 Jun 2015 09:29:44 +0200 Subject: [PATCH] ls: Also search for codename. Bug: https://bugs.debian.org/788669 --- daklib/ls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/ls.py b/daklib/ls.py index dacc23ba..0a1548f8 100644 --- a/daklib/ls.py +++ b/daklib/ls.py @@ -41,7 +41,7 @@ def list_packages(packages, suites=None, components=None, architectures=None, bi where = where | t.c.source.op(comparison_operator)(package) if suites is not None: - where = where & t.c.suite.in_(suites) + where = where & (t.c.suite.in_(suites) | t.c.codename.in_(suites)) if components is not None: where = where & t.c.component.in_(components) if architectures is not None: -- 2.39.5