From: Ansgar Burchardt Date: Thu, 11 Jun 2015 19:27:07 +0000 (+0200) Subject: Revert "ls: also accept codenames" X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=283ee163bfe8a1a56165810f47bc6636b2a019f3 Revert "ls: also accept codenames" This would need addition of the codename to the "package_list" view. This reverts commit 87087596eaef30f9e2bfaa5908ffceadf7813a25. --- 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: