From 283ee163bfe8a1a56165810f47bc6636b2a019f3 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 11 Jun 2015 21:27:07 +0200 Subject: [PATCH 1/1] Revert "ls: also accept codenames" This would need addition of the codename to the "package_list" view. This reverts commit 87087596eaef30f9e2bfaa5908ffceadf7813a25. --- daklib/ls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/ls.py b/daklib/ls.py index 0a1548f8..dacc23ba 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) | t.c.codename.in_(suites)) + where = where & t.c.suite.in_(suites) if components is not None: where = where & t.c.component.in_(components) if architectures is not None: -- 2.39.2