[controller] fix wrong view name when error occurs in UndoController stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 17 Jun 2011 09:37:49 +0200
branchstable
changeset 7528 11659cbe5eea
parent 7526 ae31063f3274
child 7529 2fdc310be7cd
[controller] fix wrong view name when error occurs in UndoController
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Thu Jun 16 19:38:28 2011 +0200
+++ b/web/views/basecontrollers.py	Fri Jun 17 09:37:49 2011 +0200
@@ -604,7 +604,7 @@
         if not errors:
             self.redirect()
         return self._cw._('some errors occurred:') + self._cw.view(
-            'pyvalist', pyvalue=errors)
+            'pyvallist', pyvalue=errors)
 
     def redirect(self):
         req = self._cw