oops tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 19 Feb 2009 23:31:43 +0100
branchtls-sprint
changeset 871 01eb42259154
parent 870 0b31dbac6459
child 872 78f03d6a1505
oops
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)