From: Ansgar Burchardt Date: Sun, 14 Jun 2015 07:29:44 +0000 (+0200) Subject: ls: Also search for codename. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=881e381569d4b016c1cb936ac8b92c57a4bc8301;hp=de956f86f641a98165798e9c4f4b71dd4e805b94;p=dak.git ls: Also search for codename. Bug: https://bugs.debian.org/788669 --- 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: