From: Luca Falavigna Date: Fri, 3 Sep 2010 09:57:22 +0000 (+0000) Subject: control_suite.py: fix britney changelog X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e746dde082b10ed638c61a6f1f806efbce959361;p=dak control_suite.py: fix britney changelog Only display changelog entries for uploads targeted unstable, experimental, and testing-proposed-updates Signed-off-by: Luca Falavigna --- diff --git a/dak/control_suite.py b/dak/control_suite.py index 03cb73d5..aac6d717 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -123,7 +123,8 @@ def britney_changelog(packages, suite, session): for p in new.keys(): query += " source = '%s' AND version > '%s' AND version <= '%s'" \ % (p, new[p][1], new[p][0]) - query += " AND architecture LIKE '%source%' OR" + query += " AND architecture LIKE '%source%' AND distribution in \ + ('unstable', 'experimental', 'testing-proposed-updates') OR" query += " False ORDER BY source, version DESC" q = session.execute(query)