From f6c8c52fc75cb55dfb6f9e542971d0e31bebd532 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Thu, 11 Mar 2010 19:09:31 +0000 Subject: [PATCH] Sort the lists of old / new RC bugs before listing them Signed-off-by: Adam D. Barratt --- britney.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 7d67223..038624e 100755 --- a/britney.py +++ b/britney.py @@ -1349,8 +1349,8 @@ class Britney: if pkg not in self.bugs['unstable']: self.bugs['unstable'][pkg] = [] - new_bugs = set(self.bugs['unstable'][pkg]).difference(self.bugs['testing'][pkg]) - old_bugs = set(self.bugs['testing'][pkg]).difference(self.bugs['unstable'][pkg]) + new_bugs = sorted(set(self.bugs['unstable'][pkg]).difference(self.bugs['testing'][pkg])) + old_bugs = sorted(set(self.bugs['testing'][pkg]).difference(self.bugs['unstable'][pkg])) if len(new_bugs) > 0: excuse.addhtml("%s (%s)