excuse: Use verdict name rather than object in excuses.yaml

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2017-02-14 07:36:54 +00:00
parent 9ca5f7e24e
commit 67c784f796

View File

@ -245,7 +245,7 @@ class Excuse(object):
excusedata["excuses"] = self._text()
excusedata["item-name"] = self.name
excusedata["source"] = source
excusedata["migration-policy-verdict"] = self._policy_verdict
excusedata["migration-policy-verdict"] = self._policy_verdict.name
excusedata["old-version"] = self.ver[0]
excusedata["new-version"] = self.ver[1]
if self.maint: