From bf958a0d3fbb8dd9882ecedfccf4f0e57885b9ad Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 16:05:05 +0200 Subject: [PATCH] daklib/archive.py: use only enhanced suites as default source_suites --- daklib/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/archive.py b/daklib/archive.py index 2aaf86fd..866ee891 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -913,7 +913,7 @@ class ArchiveUpload(object): changed_by = get_or_set_maintainer(control.get('Changed-By', control['Maintainer']), self.session) if source_suites is None: - source_suites = self.session.query(Suite).join((VersionCheck, VersionCheck.reference_id == Suite.suite_id)).filter(VersionCheck.suite == suite).subquery() + source_suites = self.session.query(Suite).join((VersionCheck, VersionCheck.reference_id == Suite.suite_id)).filter(VersionCheck.check == 'Enhances').filter(VersionCheck.suite == suite).subquery() source = self.changes.source if source is not None: -- 2.39.5