]> git.decadent.org.uk Git - dak.git/commitdiff
dak rm: warn when working on oldstable as on stable
authorTorsten Werner <twerner@debian.org>
Fri, 29 Jul 2011 07:50:47 +0000 (07:50 +0000)
committerTorsten Werner <twerner@debian.org>
Fri, 29 Jul 2011 07:50:47 +0000 (07:50 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/rm.py

index e0a5fa79d73653d538067f0947330222cae109e3..3b13d8e964f15b26d59d555a4f4978df4a95b7f1 100755 (executable)
--- 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()