From: Torsten Werner Date: Fri, 29 Jul 2011 07:50:47 +0000 (+0000) Subject: dak rm: warn when working on oldstable as on stable X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a03ea235c6f9ad874104eeb38a87e9e1496388a9;p=dak dak rm: warn when working on oldstable as on stable Signed-off-by: Torsten Werner --- 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()