X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=fe763605f545ddff7748a2a7dad6d7071ebc44ab;hb=3a044cf559c390a0a4dc0658ec565b6a327f136a;hp=1b6dfe1f4aaa4788993a23ca23283fe25210bcb4;hpb=21e5bac6ffc3eca9587997822ed48f3e6093241a;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 1b6dfe1f..fe763605 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -41,7 +41,6 @@ import commands import os -import re import sys import apt_pkg import apt_inst @@ -106,7 +105,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 = {} @@ -457,7 +456,7 @@ def main (): maintainer_list = [] for maintainer_id in maintainers.keys(): - maintainer_list.append(get_maintainer(maintainer_id)) + maintainer_list.append(get_maintainer(maintainer_id).name) summary = "" removals = d.keys() removals.sort()