]> git.decadent.org.uk Git - dak.git/commitdiff
get_suite_architectures returns [Architecture] now, not [str]
authorChris Lamb <lamby@debian.org>
Mon, 26 Oct 2009 14:12:36 +0000 (14:12 +0000)
committerChris Lamb <lamby@debian.org>
Mon, 26 Oct 2009 14:13:03 +0000 (14:13 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/rm.py

index c2a07e8ae1e800a183e5b75a772fbd596261b2ed..8ed03412293f1d946976daa06b855bc394a7f7c4 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -106,7 +106,7 @@ def reverse_depends_check(removals, suites, arches=None):
     if arches:
         all_arches = set(arches)
     else:
-        all_arches = set(get_suite_architectures(suites[0]))
+        all_arches = set([x.arch_string for x in get_suite_architectures(suites[0])])
     all_arches -= set(["source", "all"])
     for architecture in all_arches:
         deps = {}