[dak/master] control_suite.py: fix britney changelog
Only display changelog entries for uploads targeted
unstable, experimental, and testing-proposed-updates
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
dak/control_suite.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dak/control_suite.py b/dak/control_suite.py
index 03cb73d..aac6d71 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)
--
1.5.6.5
Reply to: