From 87087596eaef30f9e2bfaa5908ffceadf7813a25 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 11 Jun 2015 21:17:43 +0200 Subject: [PATCH] ls: also accept codenames --- 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.2