mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-19 23:21:11 +00:00
Add policy-info to YAML excuses
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
63b08f8278
commit
26c6f3eb87
@ -216,10 +216,8 @@ class Excuse(object):
|
||||
excusedata["source"] = self.name
|
||||
excusedata["old-version"] = self.ver[0]
|
||||
excusedata["new-version"] = self.ver[1]
|
||||
excusedata["age"] = self.daysold
|
||||
excusedata["age-needed"] = self.mindays
|
||||
excusedata["new-bugs"] = sorted(self.newbugs)
|
||||
excusedata["old-bugs"] = sorted(self.oldbugs)
|
||||
if self.policy_info:
|
||||
excusedata['policy_info'] = self.policy_info
|
||||
if self.forced:
|
||||
excusedata["forced-reason"] = sorted(list(self.reason.keys()))
|
||||
excusedata["reason"] = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user