]> git.decadent.org.uk Git - dak.git/commitdiff
dak/import.py: control -> source
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 8 Nov 2012 07:29:02 +0000 (08:29 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 8 Nov 2012 07:29:07 +0000 (08:29 +0100)
dak/import.py

index ab5240d546007ef17de481c6ef24d176f6d12d1d..b7c4a25c93c956c922e282883eecebed098daad0 100644 (file)
@@ -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])