[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] control-suite



allow to set lenny-r0

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/debian/cron.dinstall |    2 ++
 dak/control_suite.py        |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index afa2571..dbfcd1b 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -91,6 +91,8 @@ ts "o-p-u-new"
 
 ################################################################################
 
+# Temporary until lenny is there
+dak control-suite -s lenny-r0 /srv/ftp.debian.org/misc/lenny-r0.txt
 
 echo "Synchronizing i18n package descriptions"
 # First sync their newest data
diff --git a/dak/control_suite.py b/dak/control_suite.py
index 95b24bc..f648b5e 100755
--- a/dak/control_suite.py
+++ b/dak/control_suite.py
@@ -275,8 +275,8 @@ def main ():
         utils.fubar("No action specified.")
 
     # Safety/Sanity check
-    if action == "set" and suite not in ["testing", "etch-m68k"]:
-        utils.fubar("Will not reset a suite other than testing.")
+    if action == "set" and suite not in ["testing", "etch-m68k", "lenny-r0"]:
+        utils.fubar("Will not reset suite %s" % (suite))
 
     if action == "list":
         get_list(suite)
-- 
1.5.6.5



Reply to: