Also make sure forced-reason is a list

Signed-off-by: Ivo De Decker <ivodd@debian.org>
debian
Ivo De Decker 10 years ago committed by Niels Thykier
parent b9f30120ad
commit 613610e2b8

@ -220,7 +220,7 @@ class Excuse(object):
excusedata["new-bugs"] = sorted(self.newbugs)
excusedata["old-bugs"] = sorted(self.oldbugs)
if self.forced:
excusedata["forced-reason"] = self.reason.keys()
excusedata["forced-reason"] = list(self.reason.keys())
excusedata["reason"] = []
else:
excusedata["reason"] = list(self.reason.keys())

Loading…
Cancel
Save