From b11e4226340fc584ec9ee8199005d71d60e7d650 Mon Sep 17 00:00:00 2001
From: Torsten Werner <twerner@debian.org>
Date: Thu, 19 Nov 2009 21:37:27 +0100
Subject: [PATCH] cruft-report: fix exception in full mode

Signed-off-by: Torsten Werner <twerner@debian.org>
---
 dak/cruft_report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dak/cruft_report.py b/dak/cruft_report.py
index 4b784877..73619d59 100755
--- a/dak/cruft_report.py
+++ b/dak/cruft_report.py
@@ -388,7 +388,7 @@ def main ():
     bin_not_built = {}
 
     if "bnb" in checks:
-        bins_in_suite = get_suite_binaries(suite_name, session)
+        bins_in_suite = get_suite_binaries(suite, session)
 
     # Checks based on the Sources files
     components = cnf.ValueList("Suite::%s::Components" % (suite_name))
-- 
2.39.5