From 3e9444b115dcf84502c59ac391faf718c03120c1 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 16:16:38 +0200 Subject: [PATCH] =?utf8?q?daklib/archive.py:=20session=20=E2=86=92=20self.?= =?utf8?q?session?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- daklib/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/archive.py b/daklib/archive.py index 9bb01069..54f925a3 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -1128,7 +1128,7 @@ 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() + source_suites = self.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, source_suites=source_suites, extra_source_archives=[suite.archive]) -- 2.39.5