Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc7e5d5
)
Fixed some typos.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 28 May 2011 04:13:45 +0000
(06:13 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 28 May 2011 04:13:45 +0000
(06:13 +0200)
wrw/resp.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/resp.py
b/wrw/resp.py
index
030d5ee
..
2e26ccf
100644
(file)
--- a/
wrw/resp.py
+++ b/
wrw/resp.py
@@
-15,7
+15,7
@@
class skeleton(object):
</body>
</html>""" % (self.head(title), content)
</body>
</html>""" % (self.head(title), content)
- def
skel
(self, title):
+ def
head
(self, title):
return """<title>%s</title>\n%s""" % (title, self.style())
def style(self):
return """<title>%s</title>\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)
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):
class notfound(httperror):
def __init__(self):
- super(notfound, self).__init__(404)
+
return
super(notfound, self).__init__(404)