[dak/master 1/7] dak rm: warn when working on oldstable as on stable
Signed-off-by: Torsten Werner <twerner@debian.org>
---
dak/rm.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dak/rm.py b/dak/rm.py
index e0a5fa7..3b13d8e 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()
--
1.7.2.5
Reply to: