]> git.decadent.org.uk Git - dak.git/commitdiff
dak/import.py: control -> source
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 8 Nov 2012 07:34:15 +0000 (08:34 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 8 Nov 2012 07:34:15 +0000 (08:34 +0100)
Don' try to fix bugs while eating breakfast, you will miss things.

dak/import.py

index b7c4a25c93c956c922e282883eecebed098daad0..d3bb957bdcbf31f9cf354729662c3a6931d0ecfd 100644 (file)
@@ -82,7 +82,7 @@ def import_source(log, transaction, suite, component, directory, hashed_file,
         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])
+        log.log(['add-source-override', suite.suite_name, component.component_name, source.dsc['Source'], section.section, priority.priority])
 
 def import_binary(log, transaction, suite, component, directory, hashed_file, fingerprint=None, add_overrides=False):
     filename = hashed_file.filename