]> git.decadent.org.uk Git - dak.git/commitdiff
dak/process_new.py: binaries -> upload.binaries
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 7 May 2013 06:31:29 +0000 (08:31 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 7 May 2013 06:31:29 +0000 (08:31 +0200)
dak/process_new.py

index 4b0d5c36cd3e153d0f8a3e5bed1a1ae9a018d0d4..f33b53bace1e1d570ef544baaf72c2013335d375 100755 (executable)
@@ -126,7 +126,7 @@ def takenover_binaries(upload, missing, session):
         if m['type'] != 'dsc':
             binaries.remove(m['package'])
     if binaries:
-        source = binaries[0].source.source
+        source = upload.binaries[0].source.source
         suite = upload.target_suite.overridesuite or \
                     upload.target_suite.suite_name
         suites = [s[0] for s in session.query(Suite.suite_name).filter \