[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 dacc23b..0a1548f 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.1.4


Reply to: