Add policy-info to YAML excuses

Signed-off-by: Niels Thykier <niels@thykier.net>
debian
Niels Thykier 9 years ago
parent 63b08f8278
commit 26c6f3eb87

@ -216,10 +216,8 @@ class Excuse(object):
excusedata["source"] = self.name excusedata["source"] = self.name
excusedata["old-version"] = self.ver[0] excusedata["old-version"] = self.ver[0]
excusedata["new-version"] = self.ver[1] excusedata["new-version"] = self.ver[1]
excusedata["age"] = self.daysold if self.policy_info:
excusedata["age-needed"] = self.mindays excusedata['policy_info'] = self.policy_info
excusedata["new-bugs"] = sorted(self.newbugs)
excusedata["old-bugs"] = sorted(self.oldbugs)
if self.forced: if self.forced:
excusedata["forced-reason"] = sorted(list(self.reason.keys())) excusedata["forced-reason"] = sorted(list(self.reason.keys()))
excusedata["reason"] = [] excusedata["reason"] = []

Loading…
Cancel
Save