# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1308296269 -7200
# Node ID 11659cbe5eeaa8d6f6d15dc36d8ac51ebed0c405
# Parent  ae31063f327477890f5e595efbdd88372595d000
[controller] fix wrong view name when error occurs in UndoController

diff -r ae31063f3274 -r 11659cbe5eea 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