From b0d876093a7cd8a33bcaf012ba339e3115f61517 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 11 Dec 2013 20:25:36 +0100 Subject: [PATCH] excuse.py: Rename keys to include "-" between words Signed-off-by: Niels Thykier --- excuse.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/excuse.py b/excuse.py index 4e15708..3868b4d 100644 --- a/excuse.py +++ b/excuse.py @@ -216,14 +216,14 @@ class Excuse(object): excusedata = {} excusedata["excuses"] = self.text() excusedata["source"] = self.name - excusedata["oldversion"] = self.ver[0] - excusedata["newversion"] = self.ver[1] + excusedata["old-version"] = self.ver[0] + excusedata["new-version"] = self.ver[1] excusedata["age"] = self.daysold - excusedata["ageneeded"] = self.mindays - excusedata["newbugs"] = sorted(self.newbugs) - excusedata["oldbugs"] = sorted(self.oldbugs) + excusedata["age-needed"] = self.mindays + excusedata["new-bugs"] = sorted(self.newbugs) + excusedata["old-bugs"] = sorted(self.oldbugs) if self.forced: - excusedata["forcedreason"] = self.reason.keys() + excusedata["forced-reason"] = self.reason.keys() excusedata["reason"] = [] else: excusedata["reason"] = self.reason.keys()