X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcruft_report.py;h=b200d7936a367bc5feb505aba11b5b1da2c34b63;hb=7db74628f24f99562e82bbc3876ef4a33466db5c;hp=5b199dcab8de5756ec347f9ef96f349f63ae8025;hpb=efe39a90214db10e0a993a2aa2d236edcae46016;p=dak.git 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()