mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +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["old-bugs"] = sorted(self.oldbugs)
|
||||
if self.forced:
|
||||
excusedata["forced-reason"] = list(self.reason.keys())
|
||||
excusedata["forced-reason"] = sorted(list(self.reason.keys()))
|
||||
excusedata["reason"] = []
|
||||
else:
|
||||
excusedata["reason"] = list(self.reason.keys())
|
||||
excusedata["reason"] = sorted(list(self.reason.keys()))
|
||||
excusedata["is-candidate"] = self.is_valid
|
||||
return excusedata
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user