From 3ad514f1eedfcc4fffe20b37801b1f6a569507ac Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 16 Feb 2014 09:14:11 +0000 Subject: [PATCH] daklib/utils.py: Fix crash on rdep test Signed-off-by: Niels Thykier --- daklib/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/daklib/utils.py b/daklib/utils.py index 0710fb37..c75b6be6 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1834,9 +1834,10 @@ def check_reverse_depends(removals, suite, arches=None, session=None, cruft=Fals .filter(Override.package == re.sub('/(contrib|non-free)$', '', source)) \ .join(Override.overridetype).filter(OverrideType.overridetype == 'dsc') \ .first() + key = source if component != "main": - source = "%s/%s" % (source, component) - all_broken.setdefault(source, set()).add(pp_deps(dep)) + key = "%s/%s" % (source, component) + all_broken.setdefault(key, set()).add(pp_deps(dep)) dep_problem = 1 if all_broken: -- 2.39.5