From 03e3206104a18e64fa39d8fa15a0a34a19795311 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 5 Jan 2012 06:09:33 +0100 Subject: [PATCH] Fixed resp.message initialization bug. --- wrw/resp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrw/resp.py b/wrw/resp.py index 8216d23..9d8542b 100644 --- a/wrw/resp.py +++ b/wrw/resp.py @@ -46,9 +46,9 @@ class usererror(dispatch.restart): return [skelfor(req).error(self.message, self.detail)] class message(dispatch.restart): - def __init__(self, message, detail): + def __init__(self, msg, detail): super(message, self).__init__() - self.message = message + self.message = msg self.detail = detail def handle(self, req): -- 2.11.0