From 2594693e0cdf06fe7f88e3daa811d5b1b7d5cddd Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 30 Jul 2011 08:12:29 +0100 Subject: [PATCH] Cope with missing suite Signed-off-by: Mark Hymers --- dak/cruft_report.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dak/cruft_report.py b/dak/cruft_report.py index 5b199dca..b200d793 100755 --- a/dak/cruft_report.py +++ b/dak/cruft_report.py @@ -556,6 +556,9 @@ def main (): nfu_packages = {} suite = get_suite(Options["Suite"].lower(), session) + if not suite: + utils.fubar("Cannot find suite %s" % Options["Suite"].lower()) + suite_id = suite.suite_id suite_name = suite.suite_name.lower() -- 2.39.5