]> git.decadent.org.uk Git - dak.git/commitdiff
Drop 'source' and 'all' from 'dak admin s-a list'.
authorTorsten Werner <twerner@debian.org>
Sun, 16 Jan 2011 23:58:14 +0000 (00:58 +0100)
committerTorsten Werner <twerner@debian.org>
Sun, 16 Jan 2011 23:58:14 +0000 (00:58 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/admin.py

index 45c55744d0c0ca99c7666cc9c0cc72504d8ab8fc..c7d770bae71ac7f8f4231f400236e3a4e6bd0dc4 100755 (executable)
@@ -234,8 +234,9 @@ dispatch['s'] = suite
 def __suite_architecture_list(d, args):
     s = d.session()
     for j in s.query(Suite).order_by('suite_name'):
+        architectures = j.get_architectures(skipsrc = True, skipall = True)
         print j.suite_name + ': ' + \
-              ', '.join([a.arch_string for a in j.architectures])
+              ', '.join([a.arch_string for a in architectures])
 
 def __suite_architecture_listarch(d, args):
     die_arglen(args, 3, "E: suite-architecture list-arch requires a suite")