From: Ansgar Burchardt Date: Thu, 8 Nov 2012 07:29:02 +0000 (+0100) Subject: dak/import.py: control -> source X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd39e89088df92975bdcd6e48a1d28799d5a0113;p=dak dak/import.py: control -> source --- 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])