]> git.decadent.org.uk Git - dak.git/commitdiff
Revert "ls: also accept codenames"
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 11 Jun 2015 19:27:07 +0000 (21:27 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 11 Jun 2015 19:27:40 +0000 (21:27 +0200)
This would need addition of the codename to the "package_list" view.

This reverts commit 87087596eaef30f9e2bfaa5908ffceadf7813a25.

daklib/ls.py

index 0a1548f85a5ec133ce70d8b7b3361af2f4134289..dacc23bab2edaec684c7baccae46c1fda6f04a3a 100644 (file)
@@ -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: