From 4523a6081d88273dedfd3bf6a1cf63739f9a06f3 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 6 Jan 2015 22:10:07 +0100 Subject: [PATCH] process-policy: pass component name to get_mapped_component --- dak/process_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/process_policy.py b/dak/process_policy.py index 612a6d87..6ab2c8f8 100755 --- a/dak/process_policy.py +++ b/dak/process_policy.py @@ -144,7 +144,7 @@ def comment_accept(upload, srcqueue, comments, transaction): package_list = PackageList(db_source.proxy) component = source_component_from_package_list(package_list, upload.target_suite) if component is not None: - return get_mapped_component(component, session=session) + return get_mapped_component(component.component_name, session=session) # Fallback for packages without Package-List field query = session.query(Override).filter_by(suite=overridesuite, package=db_source.source) \ -- 2.39.5