# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1235082703 -3600 # Node ID 01eb422591545aabd4e6a84c327ec955bc3fe222 # Parent 0b31dbac64596f0ad744d9598d025e2b2ecc800b oops 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)