From cd39e89088df92975bdcd6e48a1d28799d5a0113 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 8 Nov 2012 08:29:02 +0100 Subject: [PATCH] dak/import.py: control -> source --- dak/import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/import.py b/dak/import.py index ab5240d5..b7c4a25c 100644 --- a/dak/import.py +++ b/dak/import.py @@ -79,7 +79,7 @@ def import_source(log, transaction, suite, component, directory, hashed_file, section = session.query(Section).filter_by(section=section_name).one() priority = session.query(Priority).filter_by(priority='extra').one() - override = Override(package=control.dsc['Source'], suite=overridesuite, component=component, + override = Override(package=source.dsc['Source'], suite=overridesuite, component=component, section=section, priority=priority, overridetype=overridetype) session.add(override) log.log(['add-source-override', suite.suite_name, component.component_name, control.dsc['Source'], section.section, priority.priority]) -- 2.39.5