mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-25 09:21:30 +00:00
sort reason in excuses for easy diffing
Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
parent
d2fa0fb07c
commit
85f2f629bb
@ -220,10 +220,10 @@ class Excuse(object):
|
|||||||
excusedata["new-bugs"] = sorted(self.newbugs)
|
excusedata["new-bugs"] = sorted(self.newbugs)
|
||||||
excusedata["old-bugs"] = sorted(self.oldbugs)
|
excusedata["old-bugs"] = sorted(self.oldbugs)
|
||||||
if self.forced:
|
if self.forced:
|
||||||
excusedata["forced-reason"] = list(self.reason.keys())
|
excusedata["forced-reason"] = sorted(list(self.reason.keys()))
|
||||||
excusedata["reason"] = []
|
excusedata["reason"] = []
|
||||||
else:
|
else:
|
||||||
excusedata["reason"] = list(self.reason.keys())
|
excusedata["reason"] = sorted(list(self.reason.keys()))
|
||||||
excusedata["is-candidate"] = self.is_valid
|
excusedata["is-candidate"] = self.is_valid
|
||||||
return excusedata
|
return excusedata
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user