From ad6b2ca9981e4c8878b9ff7085103610926bf38c Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 26 Oct 2009 14:50:29 +0000 Subject: [PATCH] fix handling of suite names Signed-off-by: Mark Hymers --- dak/generate_releases.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dak/generate_releases.py b/dak/generate_releases.py index d9db95d1..9de4614d 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -198,8 +198,12 @@ def main (): for suitename in suites: print "Processing: " + suitename SuiteBlock = Cnf.SubTree("Suite::" + suitename) - suiteobj = get_suite(suitename) + suiteobj = get_suite(suitename.lower()) + if not suiteobj: + print "ALERT: Cannot find suite %s!" % (suitename.lower()) + continue + # Use the canonical name suite = suiteobj.suite_name.lower() if suiteobj.untouchable and not Options["Force-Touch"]: -- 2.39.5