Merge branch 'master' into python3
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 5 Jul 2012 00:24:58 +0000 (02:24 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 5 Jul 2012 00:24:58 +0000 (02:24 +0200)
1  2 
wrw/resp.py

diff --cc wrw/resp.py
@@@ -33,12 -33,12 +33,12 @@@ class usererror(dispatch.restart)
          self.detail = detail
  
      def handle(self, req):
-         return xhtml.forreq(req, skelfor(req).error(self.message, *self.detail))
+         return skelfor(req).error(req, self.message, *self.detail)
  
  class message(dispatch.restart):
 -    def __init__(self, msg, *detail):
 -        super(message, self).__init__()
 -        self.message = msg
 +    def __init__(self, message, *detail):
 +        super().__init__()
 +        self.message = message
          self.detail = detail
  
      def handle(self, req):