From c3b08e88c7940256b95a319d1f7f6cf6a40b25c6 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 28 May 2011 06:13:45 +0200 Subject: [PATCH] Fixed some typos. --- wrw/resp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrw/resp.py b/wrw/resp.py index 030d5ee..2e26ccf 100644 --- a/wrw/resp.py +++ b/wrw/resp.py @@ -15,7 +15,7 @@ class skeleton(object): """ % (self.head(title), content) - def skel(self, title): + def head(self, title): return """%s\n%s""" % (title, self.style()) def style(self): @@ -65,8 +65,8 @@ class httperror(usererror): def handle(self, req): req.status(self.status, self.message) - super(httperror, self).handle(req) + return super(httperror, self).handle(req) class notfound(httperror): def __init__(self): - super(notfound, self).__init__(404) + return super(notfound, self).__init__(404) -- 2.11.0