From 09437cf6537585cab8b5e82cd4fa5a873400c483 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 16:09:17 +0200 Subject: [PATCH] daklib/archive.py: use target suite as source_suite when installing to build queues --- daklib/archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daklib/archive.py b/daklib/archive.py index 6b4d0dce..9bb01069 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -1128,8 +1128,9 @@ class ArchiveUpload(object): # copy to build queues if policy_queue is None or policy_queue.send_to_build_queues: + source_suites = session.query(Suite).filter_by(suite_id=suite.suite_id).subquery() for build_queue in suite.copy_queues: - self._install_to_suite(build_queue.suite, source_component_func, binary_component_func, extra_source_archives=[suite.archive]) + self._install_to_suite(build_queue.suite, source_component_func, binary_component_func, source_suites=source_suites, extra_source_archives=[suite.archive]) self._do_bts_versiontracking() -- 2.39.5