]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'ansgar/pu/multiarchive-1'
authorJoerg Jaspert <joerg@debian.org>
Wed, 15 Aug 2012 22:22:38 +0000 (00:22 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 15 Aug 2012 22:22:38 +0000 (00:22 +0200)
* ansgar/pu/multiarchive-1:
  dak/process_policy.py: use the right source package

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_policy.py

index 26092e9bb667a4dd4423259f60fb7085c6225dae..77bc448a61c692f296b0e32fe12d2dea73ebcaba 100755 (executable)
@@ -140,7 +140,7 @@ def comment_accept(upload, srcqueue, comments, transaction):
         for db_binary in upload.binaries:
             # build queues may miss the source package if this is a binary-only upload
             if suite != upload.target_suite:
-                transaction.copy_source(db_binary.source, suite, source_component_func(upload.source), allow_tainted=allow_tainted)
+                transaction.copy_source(db_binary.source, suite, source_component_func(db_binary.source), allow_tainted=allow_tainted)
             transaction.copy_binary(db_binary, suite, binary_component_func(db_binary), allow_tainted=allow_tainted, extra_archives=[upload.target_suite.archive])
 
     # Copy .changes if needed