From a03ea235c6f9ad874104eeb38a87e9e1496388a9 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Fri, 29 Jul 2011 07:50:47 +0000 Subject: [PATCH] dak rm: warn when working on oldstable as on stable Signed-off-by: Torsten Werner --- dak/rm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/rm.py b/dak/rm.py index e0a5fa79..3b13d8e9 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -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() -- 2.39.5