excuse.py: Rename keys to include "-" between words

Signed-off-by: Niels Thykier <niels@thykier.net>
bzr-import-20160707
Niels Thykier 11 years ago
parent 0304b1adb4
commit 1ab07cb054

@ -216,14 +216,14 @@ class Excuse(object):
excusedata = {} excusedata = {}
excusedata["excuses"] = self.text() excusedata["excuses"] = self.text()
excusedata["source"] = self.name excusedata["source"] = self.name
excusedata["oldversion"] = self.ver[0] excusedata["old-version"] = self.ver[0]
excusedata["newversion"] = self.ver[1] excusedata["new-version"] = self.ver[1]
excusedata["age"] = self.daysold excusedata["age"] = self.daysold
excusedata["ageneeded"] = self.mindays excusedata["age-needed"] = self.mindays
excusedata["newbugs"] = sorted(self.newbugs) excusedata["new-bugs"] = sorted(self.newbugs)
excusedata["oldbugs"] = sorted(self.oldbugs) excusedata["old-bugs"] = sorted(self.oldbugs)
if self.forced: if self.forced:
excusedata["forcedreason"] = self.reason.keys() excusedata["forced-reason"] = self.reason.keys()
excusedata["reason"] = [] excusedata["reason"] = []
else: else:
excusedata["reason"] = self.reason.keys() excusedata["reason"] = self.reason.keys()

Loading…
Cancel
Save