X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=903e138e8929e1f6aec25e2518f9f5adde58eb61;hb=0262c823195e0e3334db1a554c7062e94ea01c62;hp=9c76155435a679983361fd6bc3f8be3548e1591a;hpb=4b277e613887f5103cd2ab64262fe29ad1bf7540;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 9c761554..903e138e 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# General purpose package removal tool for ftpmaster +""" General purpose package removal tool for ftpmaster """ # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 James Troup # This program is free software; you can redistribute it and/or modify @@ -100,7 +100,7 @@ def reverse_depends_check(removals, suites, arches=None): if arches: all_arches = set(arches) else: - all_arches = set(Cnf.ValueList("Suite::%s::Architectures" % suites[0])) + all_arches = set(database.get_suite_architectures(suites[0])) all_arches -= set(["source", "all"]) for architecture in all_arches: deps = {}