diff -r 0b31dbac6459 -r 01eb42259154 web/application.py --- a/web/application.py Thu Feb 19 22:59:02 2009 +0100 +++ b/web/application.py Thu Feb 19 23:31:43 2009 +0100 @@ -399,7 +399,7 @@ def notfound_content(self, req): template = req.property_value('ui.main-template') or 'main-template' req.form['vid'] = '404' - view404 = self.vreg.select_view('404', req, None) + view = self.vreg.select_view('404', req, None) return self.vreg.main_template(req, template, view=view)