diff -r 495862266785 -r 6b46d73823f5 web/views/error.py --- a/web/views/error.py Wed Sep 23 19:26:38 2009 +0200 +++ b/web/views/error.py Wed Sep 23 19:40:19 2009 +0200 @@ -14,7 +14,7 @@ __regid__ = '404' def call(self): - _ = self.req._ + _ = self._cw._ self.w(u"

%s

" % _('this resource does not exist')) @@ -22,6 +22,6 @@ __regid__ = '500' def call(self): - _ = self.req._ + _ = self._cw._ self.w(u"

%s

" % _('an error occured, the request cannot be fulfilled'))