web/application.py
branchtls-sprint
changeset 871 01eb42259154
parent 832 8e06873d80d3
child 882 75488a2a875e
--- 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)