From: Mark Hymers Date: Mon, 26 Oct 2009 14:50:29 +0000 (+0000) Subject: fix handling of suite names X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad6b2ca9981e4c8878b9ff7085103610926bf38c;p=dak fix handling of suite names Signed-off-by: Mark Hymers --- 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"]: