X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Frm.py;h=3b13d8e964f15b26d59d555a4f4978df4a95b7f1;hb=a03ea235c6f9ad874104eeb38a87e9e1496388a9;hp=944a46e6a0b1e5811387058e3b90743bed82a1c5;hpb=9e68d19cf842cd942e03c37ecb3228730585ebc8;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 944a46e6..3b13d8e9 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -102,7 +102,7 @@ def reverse_depends_check(removals, suites, arches=None): cnf = Config() print "Checking reverse dependencies..." - components = cnf.ValueList("Suite::%s::Components" % suites[0]) + components = get_component_names() dep_problem = 0 p2c = {} all_broken = {} @@ -368,8 +368,8 @@ def main (): s = get_suite(suite, session=session) if s is not None: suite_ids_list.append(s.suite_id) - if suite == "stable": - print "**WARNING** About to remove from the stable suite!" + if suite in ("oldstable", "stable"): + print "**WARNING** About to remove from the (old)stable suite!" print "This should only be done just prior to a (point) release and not at" print "any other time." game_over()