From e746dde082b10ed638c61a6f1f806efbce959361 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Fri, 3 Sep 2010 09:57:22 +0000 Subject: [PATCH] control_suite.py: fix britney changelog Only display changelog entries for uploads targeted unstable, experimental, and testing-proposed-updates Signed-off-by: Luca Falavigna --- dak/control_suite.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.5