From: Ansgar Burchardt Date: Sun, 12 Aug 2012 14:16:38 +0000 (+0200) Subject: daklib/archive.py: session → self.session X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e9444b115dcf84502c59ac391faf718c03120c1;p=dak daklib/archive.py: session → self.session --- 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])